diff options
| author | Tom Lane | 2021-10-16 19:02:55 +0000 |
|---|---|---|
| committer | Tom Lane | 2021-10-16 19:03:10 +0000 |
| commit | 0b5f557b7e87527c0f14230326b7e279c9fd26c1 (patch) | |
| tree | d65740ca60d3fc3dd4d5d0093b019a0e817b81b6 /src/bin | |
| parent | 6a262ba8c8648d7f2bfb419313d2d5d6daefeeb7 (diff) | |
Avoid core dump in pg_dump when dumping from pre-8.3 server.
Commit f0e21f2f6 missed adding a tgisinternal output column
to getTriggers' query for pre-8.3 servers. Back-patch to v11,
like that commit.
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/pg_dump/pg_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index dd77b50bcd3..5680901630c 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -7919,6 +7919,7 @@ getTriggers(Archive *fout, TableInfo tblinfo[], int numTables) "SELECT tgname, " "tgfoid::pg_catalog.regproc AS tgfname, " "tgtype, tgnargs, tgargs, tgenabled, " + "false as tgisinternal, " "tgisconstraint, tgconstrname, tgdeferrable, " "tgconstrrelid, tginitdeferred, tableoid, oid, " "tgconstrrelid::pg_catalog.regclass AS tgconstrrelname " |
