Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3olD-00048s-Ef for pgsql-bugs@arkaria.postgresql.org; Fri, 20 May 2016 18:02:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b3olC-0003pf-Tg for pgsql-bugs@arkaria.postgresql.org; Fri, 20 May 2016 18:02:54 +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 1b3olC-0003p3-52 for pgsql-bugs@postgresql.org; Fri, 20 May 2016 18:02:54 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3ol9-00066B-Ax for pgsql-bugs@postgresql.org; Fri, 20 May 2016 18:02:53 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id u4KI2fv28077 for ; Fri, 20 May 2016 11:02:42 -0700 Subject: Re: BUG #14152: pg_dump does not take into account previous versions reserved keywords as column names To: pgsql-bugs@postgresql.org References: <20160520165824.22598.31426@wrigleys.postgresql.org> From: John R Pierce Message-ID: Date: Fri, 20 May 2016 11:02:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------C097F9F64ACA8D08E08C0F83" X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean 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 This is a multi-part message in MIME format. --------------C097F9F64ACA8D08E08C0F83 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 5/20/2016 10:56 AM, Kevin Grittner wrote: > ... or use the --quote-all-identifiers option of 9.5 pg_dump. > > http://www.postgresql.org/docs/9.5/static/app-pgdump.html > > Not a bug. 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. -- john r pierce, recycling bits in santa cruz --------------C097F9F64ACA8D08E08C0F83 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 5/20/2016 10:56 AM, Kevin Grittner wrote:
... or use the --quote-all-identifiers option of 9.5 pg_dump.

http://www.postgresql.org/docs/9.5/static/app-pgdump.html

Not a bug.

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.


-- 
john r pierce, recycling bits in santa cruz
--------------C097F9F64ACA8D08E08C0F83--