Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 15 Minuten 3 Sekunden

Christophe Pettus: All Your GUCs in a Row: port

13. Oktober 2026 - 3:00
The `port` parameter does double duty: it names the TCP socket and the Unix socket file too. (I consult on PostgreSQL through PGX Inc..)

Chris van Eijk: A read-only user in PostgreSQL: what it can still do

13. Oktober 2026 - 2:00
Three ways to create a read-only user in PostgreSQL 17, measured: what each still allows, from a write through a function to password verifiers and RLS.

Chris van Eijk: must be owner of table in PostgreSQL: who may alter it?

13. Oktober 2026 - 2:00
What raised 'must be owner of table' in PostgreSQL 17, measured: which statements need ownership, which a grant covers, and how tables end up with mixed owners.

Chris van Eijk: Who bypasses row-level security in PostgreSQL? Measured

13. Oktober 2026 - 2:00
BYPASSRLS, table owners, FORCE and superusers in PostgreSQL 17, measured: who sees every row, what role membership passes on, and what RLS never covers.

Alexander Ioffe: Explain Analyze is a sample-size of One: Your query ran 1,100x faster the second time. It wasn't the cache.

13. Oktober 2026 - 2:00
The same LIMIT query on an idle Postgres: 78 ms, then 0.07 ms, with every page already in shared_buffers. Ten runs with a standard deviation and a per-run sample on each plan node found the cause (synchronize_seqscans), a control proved it, and the same statement returned different rows with nothing writing. Why one EXPLAIN ANALYZE is a sample of one, and how to read dispersion on a plan.

Chris van Eijk: ALTER DEFAULT PRIVILEGES not working? What we measured

13. Oktober 2026 - 2:00
ALTER DEFAULT PRIVILEGES in PostgreSQL 17, measured: whose new tables it covers, why a per-schema revoke does nothing, what counts as a table, how to list it.

Chris van Eijk: permission denied for table in PostgreSQL: which grant?

13. Oktober 2026 - 2:00
What raised 'permission denied for table', schema and sequence in PostgreSQL 17, measured: the privilege each statement needs, and why default privileges miss.

Chris van Eijk: current_setting and set_config in PostgreSQL, measured

13. Oktober 2026 - 2:00
What current_setting and set_config do with a custom setting in PostgreSQL 17, measured: NULL or empty string, how long a value lasts, defaults, who may set it.

Hollis Varden: What deleting rows does to a PostgreSQL table

13. Oktober 2026 - 2:00

A table that shrinks in rows does not shrink on disk. Everyone who has run PostgreSQL for a while knows this in general. I wanted the actual numbers, because "VACUUM reclaims space" means something narrower than it sounds.

Short answer: I deleted every second row of a 2,000,000-row table. The table was 137 MB before, 137 MB after the DELETE, 137 MB after VACUUM, and 68 MB after VACUUM FULL.

Hollis Varden: Four PostgreSQL arguments that came out even

13. Oktober 2026 - 2:00

Some advice gets repeated in code review because it sounds like it should matter. I picked four I have seen argued about and measured them. I expected at least two clear winners. I got three ties and one result that went the opposite way from the advice.

Setup

PostgreSQL 18.6, default settings. 2020 13-inch MacBook Pro, Intel i5-8257U, 8 GB RAM. A 2,000,000-row table u with an id, an email, a status and a timestamp. Times are execution times from EXPLAIN (ANALYZE, TIMING OFF), warm cache, first run discarded, median of the rest.

Alexander Ioffe: Why is my Whale Query 1000x Slower in Prod? Databases hate skew, each hates it differently

13. Oktober 2026 - 2:00
Ten enterprise customers own 80% of the orders. On uniform test data the query runs in ~1ms; on that real skew it runs ~1,000x slower. The fix doesn't transfer between engines: Postgres is rescued by one free session setting, SQL Server can't be touched by it and needs a completely different access-path fix. Measured on Neon and Azure SQL Database using ExoBench.

Chris van Eijk: PostgreSQL row-level security for SaaS: what we measured

13. Oktober 2026 - 1:15
Row-level security for a multi-tenant SaaS on PostgreSQL 17, result by result: what leaks, what it costs, how to set the tenant, and where each test is.

Chris van Eijk: Go, pgx and PostgreSQL row-level security, measured

13. Oktober 2026 - 1:15
Setting the tenant for PostgreSQL row-level security in Go with pgx 5.11, measured: pgxpool, PrepareConn hooks, transactions, batches and PgBouncer.

Christophe Pettus: The Patch Is Coming From Inside the House

12. Oktober 2026 - 18:00
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, with a few particularly cutting remarks from the LLM edited out. The subject line was “scary p… (I consult on PostgreSQL through PGX Inc..)

Devrim GÜNDÜZ: PostgreSQL RPM repository meets AI with pg_statviz

12. Oktober 2026 - 8:40
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 packages

Devrim GÜNDÜZ: PostgreSQL RPM repository meets AI with pg_statviz

12. Oktober 2026 - 8:40
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 packages

Cornelia Biacsics: Contributions for week 40

12. Oktober 2026 - 8:27

On 7 October, the London PostgreSQL Meetup group met.

Organizers:

  • Valeria Kaplan
  • Chris Ellis
  • Alastair Turner

Speakers:

  • Elizabeth Christensen
  • Alex Kasko
  • Jimmy Angelakos

On 8 October the PostgreSQL England North Meetup Group. Joseph Bharath Reddy Allam delivered a talk.

Christophe Pettus: All Your GUCs in a Row: plan_cache_mode

12. Oktober 2026 - 3:00
Override PostgreSQL's prepared statement plan choice when its cost estimates go wrong on skewed data. (I consult on PostgreSQL through PGX Inc..)

David Wheeler: PGConf.EU Community Day: A Postgres Ecosystem Foundation?

11. Oktober 2026 - 23:21

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.

Radim Marek: How TABLESAMPLE picks rows

11. Oktober 2026 - 20:45

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, Postgres has to read every single 8 kB page, all 18,085 of them (141 MB), just to count matching rows.

Seiten