From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: John R Pierce <pierce@hogranch.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14152: pg_dump does not take into account previous versions reserved keywords as column names
Date: Fri, 20 May 2016 14:25:02 -0400
Message-ID: <54607.1463768702@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwb0jhaJZSsNKLJOuL+EXf9y8bLWQC+b6LmvYfXqdhLh2Q@mail.gmail.com>
References: <20160520165824.22598.31426@wrigleys.postgresql.org>
<CACjxUsOnn1xpEMMC+8xQ9_k_Mt5pZznPnuoR3c6cnZOuwnHZKA@mail.gmail.com>
<ec771793-0c47-a89c-e9a4-b2e885593647@hogranch.com>
<CAKFQuwb0jhaJZSsNKLJOuL+EXf9y8bLWQC+b6LmvYfXqdhLh2Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Fri, May 20, 2016 at 2:02 PM, John R Pierce <pierce@hogranch.com> 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
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, david.g.johnston@gmail.com, pierce@hogranch.com
Subject: Re: BUG #14152: pg_dump does not take into account previous versions reserved keywords as column names
In-Reply-To: <54607.1463768702@sss.pgh.pa.us>
References: <20160520165824.22598.31426@wrigleys.postgresql.org> <CACjxUsOnn1xpEMMC+8xQ9_k_Mt5pZznPnuoR3c6cnZOuwnHZKA@mail.gmail.com> <ec771793-0c47-a89c-e9a4-b2e885593647@hogranch.com> <CAKFQuwb0jhaJZSsNKLJOuL+EXf9y8bLWQC+b6LmvYfXqdhLh2Q@mail.gmail.com> <54607.1463768702@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