pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: vindrg@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14761: pg_dumpall --version is misleading (from jessie-pgdg postgresql-client-common)
Date: Tue, 25 Jul 2017 10:47:20 -0400
Message-ID: <6189.1500994040@sss.pgh.pa.us> (raw)
In-Reply-To: <20170725132333.1464.39535@wrigleys.postgresql.org>
References: <20170725132333.1464.39535@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

vindrg@gmail.com writes:
> We've discovered, that pg_dumpall produced dump of roles from 9.4 cluster
> are not compatible with 9.4, i.e. cannot be restored due to NOBYPASSRLS
> option in SQL file.
> Its produced SQL file contains lines like this:
> ALTER ROLE <some_user> WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB
> LOGIN NOREPLICATION NOBYPASSRLS PASSWORD '<some_password>';

> Note NOBYPASSRLS that is available since 9.5. pg_dumpall reported 9.4.12
> version, and dumped cluster itself in of 9.4.

It's certainly impossible that 9.4 pg_dumpall produced that.

> It seems that it is actually dumped by 9.5 pg_dumpall available in another
> packaged, installed to test 9.5 some time ago:

Apparently you're getting burnt by something in the debian "alternatives"
mechanism.  The core Postgres project isn't the place to complain about
that though, you need to complain to debian packaging people.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <6189.1500994040@sss.pgh.pa.us>
Permalink:  ../6189.1500994040@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6189.1500994040@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 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: tgl@sss.pgh.pa.us, vindrg@gmail.com
  Subject: Re: BUG #14761: pg_dumpall --version is misleading (from jessie-pgdg postgresql-client-common)
  In-Reply-To: <6189.1500994040@sss.pgh.pa.us>
  References: <20170725132333.1464.39535@wrigleys.postgresql.org> <6189.1500994040@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