mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
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.
This commit is contained in:
parent
e2ff7d9a83
commit
40dfac4fc4
@ -8082,6 +8082,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 "
|
||||
|
Loading…
Reference in New Issue
Block a user