LOCK TABLE public.schema_migrations IN ACCESS SHARE MODE when executing pg_dump
-
17-03-2021 - |
Question
I have a cron job that execute a backup on all databases on the sever. The pg_dump gets stuck in one database/table. Tracking the issue on pg_status_activity table I got:
Message:
LOCK TABLE public.table_name IN ACCESS SHARE MODE
No errors on PG logs were found
Server OS: Linux CentOS 7 Database : PostgresSQL 12
Thanks
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange