Hacker News
What Changes When You Upgrade from PostgreSQL 18 to 19
gwking
|next
[-]
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
|root
|parent
|next
|previous
[-]
piskov
|root
|parent
|previous
[-]
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.
skew-aberration
|root
|parent
|next
[-]
piskov
|root
|parent
[-]
This may be important in many cases: for example antifraud where you want to store also what was literally on the user’s clock (including timezone) and show it later in reports and what have you
bruce511
|root
|parent
|next
[-]
However the Postgres (and others) work-around is simply to add a LocalTimeZone field where necessary.
Yeah, it's not as convenient, but it's a simple, effective, work-around.
For me, this isn't the killer-app distinction that suggests choosing MSSQL over Postgres.
jiggawatts
|root
|parent
|next
|previous
[-]
Every database engine has bizarre limitations that make no sense to me.
I’ve noticed that a few other disgruntled DBAs have started fixing these issues up by throwing tokens at Postgres.
yuuch
|next
|previous
[-]
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
|root
|parent
[-]
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.
dapperdrake
|root
|parent
[-]
dapperdrake
|root
|parent
[-]
Why didn’t postgres try plv8 for jit, instead? Only half-joking. It is designed for JIT way more than raw LLVM is.
dapperdrake
|root
|parent
[-]
Postgres is a surprising counter-example. Especially, because its overall quality seems rather high. Food for thought.
On the other hand, fsync-gate showed that well-meaning people can end up talking past each other.
Developing Postgres seems harder and harder by the day.
Scaled
|previous
[-]
I know there's an argument for version pinning, but I don't want to have to handhold random docker containers. It should be automated IMO. It's become a deterrent for me wanting to deploy anything that depends on postgres.