Settings

Theme

What Changes When You Upgrade from PostgreSQL 18 to 19

rishigoomar.com

61 points by rgoomar · 6 comments

Reader

2 threads
gwking

I am surprised that "an already-open transaction that reads events for the first time after the swap can see an empty table" is considered acceptable.

I am not a Postgres user, and I appreciate that production databases are complicated beasts. Do people who use Postgres for production think this sounds fine?

  • paulryanrogers

    IIRC it depends upon transaction isolation level, and every mode has its trade-offs

  • piskov

    Try storing datetimeoffset (ie datetime with time zone) in Postgres. It can’t.

    Also suppose you have a lastname and want to have case-insensitive search over it (prefix and equal).

    In MS SQL you just add an index. By the way, there is only one type to choose from (ignoring clustered or multicolumn) — it just works.

    In Postgres you needed to jump through effing hoops just for that until like 1-2 years ago when they finally added case-insensitive collation with prefix search support.

    —

    How people ignored such basic stuff for any CRUD app for years is beyond me.

yuuch

From an app dev perspective, 19 feels pretty quiet—especially since SQL/PGQ and GROUP BY ALL got pushed out to 20.

For ops, though, it's a huge quality-of-life release. Built-in REPACK (CONCURRENTLY), turning on logical replication without a restart, and turning JIT off by default finally fix some of the biggest day-to-day operational headaches without needing external extensions or workarounds.

  • fabian2k

    The JIT default was terrible, I'm very surprised it survived that long. I really like Postgres, but that was the one rare misstep I've noticed.

    The JIT just hits so hard when it misfires, suddenly queries that took 100-200ms take 2 seconds because they hit the JIT threshold. And I've seen worse than that for more complex, but still usually fast queries.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection