Replies: 1 comment
-
I would recommend setting the I will see if there might be some way to do the session level lock for the background worker, but not sure when I'll be able to look into that further right now.a https://www.postgresql.org/docs/16/runtime-config-client.html#GUC-LOCK-TIMEOUT |
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
-
When creating new partitions using cron job for a table, do we have a option to provide timeout for locks, if the DDL statement that will create. a new partition does not acquire lock within lock_timeout then fail the creation of partition. How can we do that ?
Inspired by : https://duffel.com/blog/understanding-outage-concurrency-vacuum-postgresql
Beta Was this translation helpful? Give feedback.
All reactions