Re: [BUGS] BUG #14761: pg_dumpall --version is misleading (from jessie-pgdg postgresql-client-common) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14761: pg_dumpall --version is misleading (from jessie-pgdg postgresql-client-common)
Date
Msg-id 6189.1500994040@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] BUG #14761: pg_dumpall --version is misleading (from jessie-pgdgpostgresql-client-common)  (vindrg@gmail.com)
Responses Re: [BUGS] BUG #14761: pg_dumpall --version is misleading (fromjessie-pgdg postgresql-client-common)
List pgsql-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

pgsql-bugs by date:

Previous
From: vindrg@gmail.com
Date:
Subject: [BUGS] BUG #14761: pg_dumpall --version is misleading (from jessie-pgdgpostgresql-client-common)
Next
From: Осипков Андрей Сергеевич
Date:
Subject: [BUGS] The performance on 9.6.3 for our query differs by more than 10 timesthan at 9.5.7.