Replies: 1 comment
-
Going by the documentation, it looks like most constraints do take out an access exclusive lock on the table. https://www.postgresql.org/docs/17/sql-altertable.html
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Which lock does the function apply_constraints use on the table during its run? We're trying to figure out if we can use it to apply new constraints and indexes on existing partitioned tables.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions