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