pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix pg_dump/pg_restore to restore event trigger comments later.
Date: Wed, 08 Apr 2020 15:23:59 +0000
Message-ID: <E1jMCYZ-0008Gq-30@gemulon.postgresql.org> (raw)

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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/564c1e6d737d7c575e8af4fc271f497fcff9aecb

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



view thread (12+ messages)  latest in thread

Message-ID: <E1jMCYZ-0008Gq-30@gemulon.postgresql.org>
Permalink:  ../E1jMCYZ-0008Gq-30@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jMCYZ-0008Gq-30@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix pg_dump/pg_restore to restore event trigger comments later.
  In-Reply-To: <E1jMCYZ-0008Gq-30@gemulon.postgresql.org>
  References: <E1jMCYZ-0008Gq-30@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox