permission denied #152

Closed
opened 2026-04-05 16:15:51 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @lujay on 2/9/2026

We have a partitioned table, and we pre-create five partitions in advance each time.
It seems that our predefined database user does not have LOCK privileges on the newly created tables.

pg_dump: error: query failed: ERROR: permission denied for table call_sharding_20260209
pg_dump: detail: Query was: LOCK TABLE call_sharding_20260209 IN ACCESS SHARE MODE

*Originally created by @lujay on 2/9/2026* We have a partitioned table, and we pre-create five partitions in advance each time. It seems that our predefined database user does not have LOCK privileges on the newly created tables. pg_dump: error: query failed: ERROR: permission denied for table call_sharding_20260209 pg_dump: detail: Query was: LOCK TABLE call_sharding_20260209 IN ACCESS SHARE MODE
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#152