pgsql: Fix pg_dump/pg_restore to restore event trigger comments later. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix pg_dump/pg_restore to restore event trigger comments later.
Date
Msg-id E1jMCYZ-0008Gn-2Z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7780660520b77b1ce050e63b2ab234068a108ee3

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 12 ++++++++++++
1 file changed, 12 insertions(+)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Rationalize GetWalRcv{Write,Flush}RecPtr().
Next
From: Tomas Vondra
Date:
Subject: pgsql: Stabilize incremental_sort tests