Skip to content

Does Neon guarantees row level locks to be exclusive? #4226

Answered by hlinnaka
rickchristie asked this question in Q&A
Discussion options

You must be logged in to vote

Neon is a single-writer system, there can be only one writer compute pod at a time. Just like in a vanilla Postgres setup with replication. You can have read-only replicas, but you cannot run "SELECT FOR UPDATE" in a read-only node. Transaction handling and MVCC in Neon work the same as in any Postgres installation.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yfzysxlg
Comment options

Answer selected by rickchristie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants