diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-08 11:23:39 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-08 11:23:39 -0400 |
commit | a9d70c108786712a1023c65e360602edf7bafbf4 (patch) | |
tree | 4614c7a55b64c7e96f393c3c51cac5e565480650 /src/backend/parser/parse_utilcmd.c | |
parent | d140f2f3e225ea53e2d92ab6833b8c186c90666c (diff) | |
download | postgresql-a9d70c108786712a1023c65e360602edf7bafbf4.tar.gz postgresql-a9d70c108786712a1023c65e360602edf7bafbf4.zip |
Fix pg_dump/pg_restore to restore event trigger comments later.
Repair an oversight in commit 8728b2c70: if we're postponing restore
of event triggers to the end, we must also postpone restoring any
comments on them, since of course we cannot create the comments first.
(This opens yet another opportunity for an event trigger to bollix
the restore, but there's no help for that.)
Per bug #16346 from Alexander Lakhin.
Like the previous commit, back-patch to all supported branches.
Hamid Akhtar and Tom Lane
Discussion: https://postgr.es/m/16346-6210ad7a0ea81be1@postgresql.org
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions