2 comments

  • gwking3 hours ago
    I am surprised that &quot;an already-open transaction that reads events for the first time after the swap can see an empty table&quot; is considered acceptable.<p>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?
    • paulryanrogers1 hour ago
      IIRC it depends upon transaction isolation level, and every mode has its trade-offs
    • piskov32 minutes ago
      Try storing datetimeoffset (ie datetime with time zone) in Postgres. It can’t.<p>Also suppose you have a lastname and want to have case-insensitive search over it (prefix and equal).<p>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.<p>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.<p>—<p>How people ignored such basic stuff for any CRUD app for years is beyond me.
  • yuuch1 day ago
    From an app dev perspective, 19 feels pretty quiet—especially since SQL&#x2F;PGQ and GROUP BY ALL got pushed out to 20.<p>For ops, though, it&#x27;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.
    • fabian2k4 hours ago
      The JIT default was terrible, I&#x27;m very surprised it survived that long. I really like Postgres, but that was the one rare misstep I&#x27;ve noticed.<p>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&#x27;ve seen worse than that for more complex, but still usually fast queries.