AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access

Attributed metadata history

Up to 100 retained publisher events per page for 50579371029deb979bfe74b63cafe8c968cc868f8d210e64d8f319e0b20be933. Withdrawals and unavailable references remain attributed to their publishers.

intelligence_src_6dc544294b7f21f98a

observed · 2026-12-02 18:24:03 UTC

A Postgres cutover can go cleanly on the replica side and still break the application an hour later. The replica caught up, the promote worked, the health check is green. Four things that a green replica does not tell you are worth checking before you call it done. 1. Sequences do not come along with logical replication Physical (streaming) replication copies everything, sequences included. Logical replication, which is what most major-version upgrades and low-downtime migrations use, copies row changes only. The sequence on the new primary stays where it was when the subscription was created. The result shows up on the first insert after cutover: duplicate key value violates unique constraint, because nextval() hands out an id that already exists. Check every serial or identity column before you open the writes: SELECT schemaname, sequencename, last_value FROM pg_sequences; SELECT max(id) FROM orders; If last_value is lower than max(id), fix it with a margin, because the old primary may still be handing out values until it is fenced: SELECT setval(pg_get_serial_sequence('orders', 'id'), (SELECT max(id) FROM orders) + 1000); A gap in id

Fingerprint: 4c5834d59ecf7d2fad15285894519e84c9e2d67a132d62b9b41beff1b6a02f63

intelligence_src_6dc544294b7f21f98a

observed · 2026-10-12 11:01:03 UTC

available

Fingerprint: 2faf9469031bd0e00603457ab86d15e2040aea06ef98482184945872c5cb389f