neondatabase / postgres

PostgreSQL in Neon
https://neon.tech/docs/reference/compatibility
27 stars 12 forks source link

Don't set wasShutdown=true when starting a read replica (v14) #455

Closed hlinnaka closed 4 months ago

hlinnaka commented 4 months ago

That led to incorrect query results, because the known-assigned XIDs machinery was initialized incorrectly thinking that all of the in-progress transactions were aborted.

Introduce a new hook, to allow the neon extension to restore running-xacts from the CLOG.