pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: justin@tonic.ai
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17753: pg_dump --if-exists bug
Date: Thu, 19 Jan 2023 19:09:50 -0500
Message-ID: <294749.1674173390@sss.pgh.pa.us> (raw)
In-Reply-To: <282372.1674166935@sss.pgh.pa.us>
References: <17753-9c8773631747ee1c@postgresql.org>
	<CAApHDvq+JTtZWOrXBrY7LvquyXHoCWWq=DfPYKB4b7BuFiM_8A@mail.gmail.com>
	<4062761.1674142680@sss.pgh.pa.us>
	<282372.1674166935@sss.pgh.pa.us>

I wrote:
> I think we need to do the attached, more or less.  Also, although the
> given case seems to be new, we'd probably better back-patch, because
> I'm not convinced that there aren't other ways to reach this.

Ah --- we only need to back-patch to v15, because this business of
possibly having a comment in the dropStmt is new in a7a7be1f2.
That commit also added the existing exceptions for comments in
pg_backup_archiver.c ... but it missed the need to have special
cases for dropStmts too.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <294749.1674173390@sss.pgh.pa.us>
Permalink:  ../294749.1674173390@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/294749.1674173390@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, noah@leadboat.com, dgrowleyml@gmail.com, justin@tonic.ai, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17753: pg_dump --if-exists bug
  In-Reply-To: <294749.1674173390@sss.pgh.pa.us>

* 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