Christophe Pettus: The Patch Is Coming From Inside the House
On August 25, Robert Haas opened a pgsql-hackers thread like this: I asked Claude to evaluate which v19 patches were the scariest based on the number and type of bugs fixed post-freeze. Results below,...
View ArticleDevrim GÜNDÜZ: PostgreSQL RPM repository meets AI with pg_statviz
pg_statviz can now ask Claude, a local Ollama model, OpenAI or Gemini to explain your PostgreSQL statistics on every distro we ship it for. Getting there took three days and a few dozen new Python...
View ArticleDevrim GÜNDÜZ: PostgreSQL RPM repository meets AI with pg_statviz
pg_statviz can now ask Claude, a local Ollama model, OpenAI or Gemini to explain your PostgreSQL statistics on every distro we ship it for. Getting there took three days and a few dozen new Python...
View ArticleCornelia Biacsics: Contributions for week 40
On 7 October, the London PostgreSQL Meetup group met. Organizers: Valeria KaplanChris Ellis Alastair TurnerSpeakers: Elizabeth ChristensenAlex KaskoJimmy AngelakosOn 8 October the PostgreSQL England...
View ArticleChristophe Pettus: All Your GUCs in a Row: plan_cache_mode
Override PostgreSQL's prepared statement plan choice when its cost estimates go wrong on skewed data. (I consult on PostgreSQL through PGX Inc..)
View ArticleChristophe Pettus: All Your GUCs in a Row: password_encryption
What `password_encryption` actually controls: how PostgreSQL hashes new passwords when you hand it clear text. (I consult on PostgreSQL through PGX Inc..)
View ArticleDavid Wheeler: PGConf.EU Community Day: A Postgres Ecosystem Foundation?
For anyone with an interest in the long-term health and longevity of the broader ecosystem of Postgres extensions and tools, we’d like to hear your ideas and inspirations for its assurance. Come to the...
View ArticleRadim Marek: How TABLESAMPLE picks rows
Most exploratory questions against a large table only need a rough answer, but without an index on status, even "roughly how many shipped orders" costs a full scan. On the two-million-row orders table,...
View ArticleChristophe Pettus: All Your GUCs in a Row: parallel_leader_participation
Whether your query's leader process joins the work or just supervises depends on this boolean, and the performance question it settles is subtle. (I consult on PostgreSQL through PGX Inc..)
View ArticleChristophe Pettus: All Your GUCs in a Row: parallel_setup_cost and...
PostgreSQL's parallel query planner charges two fees for going parallel: a setup cost per Gather node and a per-row cost for moving data from workers to… (I consult on PostgreSQL through PGX Inc..)
View ArticleChris van Eijk: infinite recursion detected in policy: causes and fixes
When PostgreSQL 17 raises 'infinite recursion detected in policy for relation', and what each fix costs on a million rows: from 0.09 ms to 6.6 seconds.
View ArticleChris van Eijk: new row violates row-level security policy: the causes
What raised 'new row violates row-level security policy for table' in PostgreSQL 17, measured: inserts, RETURNING, upserts, MERGE and four message forms.
View ArticleChris van Eijk: One partition per tenant in PostgreSQL, measured
List-partitioning by tenant under row-level security, measured in PostgreSQL 17 and 18: 100, 1,000 and 3,000 partitions, planning, locks, adding a tenant.
View ArticleÁlvaro Hernández: Scaling Citus without limits: announcing Query Routers in...
Citus already scaled the workers horizontally. Now the coordinators tooI’ve heard more than once that Citus is not a good sharding technology/architecture because it’s limited to one coordinator....
View ArticleChristophe Pettus: Portions Copyright
In October 2014, a developer wrote to a PostgreSQL mailing list with a problem. His employer’s open source office required a signed contributor license agreement before he could contribute, and he...
View ArticleShaun Thomas: PG Phriday: Against the WAL
Plenty of Postgres services end up managed by application developers, whether they like it or not. Some dabble in databases on the side, and some inherited the job when the last DBA scampered off for...
View ArticleSHRIDHAR KHANAL: The Database Restarted Without Restarting: The Basics of...
Key Takeaways Signal 1 (SIGHUP) normally tells PostgreSQL to reload its configuration. A log line saying a process was terminated by signal 1 means that process didn’t handle the signal and died from...
View ArticleRadim Marek: Postgres relation files, filed under base/
The buffers article followed an 8KB page from disk into shared memory and back. What it didn't do is name the file. Every page that passes through the buffer pool is block number N of some file under...
View ArticlePeter Eisentraut: The reverts will continue until morale improves
Many readers will be aware that an unusually high number of features have been reverted from the PostgreSQL 19 branch after the beta period began. Having some reverts is not unusual, maybe one per...
View ArticleHollis Varden: Five PostgreSQL queries that did more work than I asked for
Most slow queries I have looked at are not doing anything clever. They are doing extra work that nobody asked for, because one word in the SQL told PostgreSQL to.I took five of those words and measured...
View Article