Revert "pg_dump: Lock all relations, not just plain tables".

Tom Lane <tgl@sss.pgh.pa.us>

Commit: fa3840c8800f290b8352c5c81714a4439d2e1f46
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-11-06T20:48:21Z
Releases: 13.1
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

Files

PathChange+/−
src/bin/pg_dump/pg_backup_db.c modified +0 −66
src/bin/pg_dump/pg_backup_db.h modified +0 −2
src/bin/pg_dump/pg_backup.h modified +0 −2
src/bin/pg_dump/pg_dump.c modified +7 −10

Discussion