Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3p6p-0005Qy-FU for pgsql-bugs@arkaria.postgresql.org; Fri, 20 May 2016 18:25:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b3p6o-00005Y-V7 for pgsql-bugs@arkaria.postgresql.org; Fri, 20 May 2016 18:25:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b3p6o-000051-8w for pgsql-bugs@postgresql.org; Fri, 20 May 2016 18:25:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b3p6l-0002qs-6j for pgsql-bugs@postgresql.org; Fri, 20 May 2016 18:25:13 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u4KIP2lq001862; Fri, 20 May 2016 14:25:02 -0400 From: Tom Lane To: "David G. Johnston" cc: John R Pierce , "pgsql-bugs@postgresql.org" Subject: Re: BUG #14152: pg_dump does not take into account previous versions reserved keywords as column names In-reply-to: References: <20160520165824.22598.31426@wrigleys.postgresql.org> Comments: In-reply-to "David G. Johnston" message dated "Fri, 20 May 2016 14:11:53 -0400" Date: Fri, 20 May 2016 14:25:02 -0400 Message-ID: <54607.1463768702@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 "David G. Johnston" writes: > On Fri, May 20, 2016 at 2:02 PM, John R Pierce wrote: >> pg_dump and pg_dumpall are supposed to be able to dump all supported prior >> versions, thats the documented procedure for updating... I contend this >> *is* a bug. quote-all-identifiers is a workaround, for sure. > If indeed the prescribed procedure is quote-all-identifiers I'd say we > should at least update the docs. Yeah, agreed. I'll put something in. Alternatively, we could automatically turn on quote-all-identifiers when dumping from a server of a different major version; but I imagine we'd get complaints about that, too, since it's so seldom an issue. 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