Revert "pg_dump: Lock all relations, not just plain tables".
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Nov 2020 20:48:04 +0000 (15:48 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Nov 2020 20:48:04 +0000 (15:48 -0500)
commitd3adaabaf7d555ec8bb1d83c43f72e79f1bf0b7d
treed4f7779a2b266ec74a7c2c222b07ae5e870b455d
parent53f614f1302d56e5fbb98826c7eee3c715411184
Revert "pg_dump: Lock all relations, not just plain tables".

Revert 403a3d91c, as well as the followup fix 7f4235032, in all
branches.  We need to think a bit harder about what the behavior
of LOCK TABLE on views should be, and there's no time for that
before next week's releases.  We'll take another crack at this
later.

Discussion: https://postgr.es/m/16703-e348f58aab3cf6cc@postgresql.org
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_backup_db.h
src/bin/pg_dump/pg_dump.c