Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da189-0007Jb-LA for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jul 2017 14:48:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1da188-0008J0-G4 for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jul 2017 14:48:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1da17R-00074d-9C for pgsql-bugs@postgresql.org; Tue, 25 Jul 2017 14:47:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1da17K-0007cc-HZ for pgsql-bugs@postgresql.org; Tue, 25 Jul 2017 14:47:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v6PElKdS006190; Tue, 25 Jul 2017 10:47:20 -0400 From: Tom Lane To: vindrg@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14761: pg_dumpall --version is misleading (from jessie-pgdg postgresql-client-common) In-reply-to: <20170725132333.1464.39535@wrigleys.postgresql.org> References: <20170725132333.1464.39535@wrigleys.postgresql.org> Comments: In-reply-to vindrg@gmail.com message dated "Tue, 25 Jul 2017 13:23:33 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6188.1500994040.1@sss.pgh.pa.us> Date: Tue, 25 Jul 2017 10:47:20 -0400 Message-ID: <6189.1500994040@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB > LOGIN NOREPLICATION NOBYPASSRLS 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