pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Floris Van Nee <florisvannee@Optiver.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Cc: Ferdi Smit <FerdiSmit@Optiver.com>
Cc: Stephen Frost <sfrost@snowman.net>
Subject: Re: incorrect pg_dump output due to not handling dropped roles correctly
Date: Sun, 17 Nov 2019 20:56:13 +0000
Message-ID: <1574024173786.96623@Optiver.com> (raw)
In-Reply-To: <29913.1573835973@sss.pgh.pa.us>
References: <1573808483712.96817@Optiver.com>
	<29913.1573835973@sss.pgh.pa.us>

> Yeah, I think that would work.  Obviously best to test in a throwaway
> database ...

Thanks, Tom. Fixed it with that query.

As for the proper fix, indeed it looks like the 'drop role' needs to be taught to update pg_init_privs.

-Floris






view thread (14+ messages)  latest in thread

Message-ID: <1574024173786.96623@Optiver.com>
Permalink:  ../1574024173786.96623@Optiver.com/
Also on:    postgresql.org/message-id/1574024173786.96623@Optiver.com

 · 

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-bugs@postgresql.org
  Cc: florisvannee@Optiver.com, tgl@sss.pgh.pa.us, FerdiSmit@Optiver.com, sfrost@snowman.net
  Subject: Re: incorrect pg_dump output due to not handling dropped roles correctly
  In-Reply-To: <1574024173786.96623@Optiver.com>
  References: <1573808483712.96817@Optiver.com> <29913.1573835973@sss.pgh.pa.us> <1574024173786.96623@Optiver.com>

* 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