From: David Fetter <david@fetter.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian.Vondendriesch@credativ.de
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Re: [BUGS] BUG #8128: pg_dump (>= 9.1) failed while dumping a scheme named "old" from PostgreSQL 8.4
Date: Wed, 1 May 2013 09:14:46 -0700
Message-ID: <20130501161446.GA2127@fetter.org> (raw)
In-Reply-To: <3523.1367421148@sss.pgh.pa.us>
References: <E1UXCfT-0006k7-K4@wrigleys.postgresql.org>
<15639.1367366007@sss.pgh.pa.us>
<20130501142653.GB16330@fetter.org>
<3523.1367421148@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Wed, May 01, 2013 at 11:12:28AM -0400, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > According to SQL:2003 and SQL:2008 (and the draft standard, if
> > that matters) in section 5.2 of Foundation, both NEW and OLD are
> > reserved words, so we're going to need to re-reserve them to
> > comply.
>
> We don't and won't.
Not so fast or so definite, if you please.
I've got a GSoC project in that implements things with both of these
keywords, and doubtless others will use other keywords either this
coming (9.4) cycle or in a later one.
If you want to have a discussion about the timing, that is a perfectly
reasonable discussion to have. Peremptorily saying, "don't and won't"
is not a great way to operate, however tempting it may be for you.
There is a case to be made, and I'm making it here, for pre-reserving
all the keywords and erroring out with "Feature not implemented" for
those not yet implemented. This would keep us, and more importantly
our user base, from wondering when the next random change to the SQL
language would affect them.
I'd suggest doing this over about 3 releases in the sense of warning
people at the appropriate juncture--I'm guessing at least CREATE,
ALTER, pg_dump(all) and pg_upgrade would be involved. Three releases
is just a suggestion intended to start a discussion.
> There are very many other keywords that are less reserved in
> Postgres than in the spec; this is a good thing.
How is it a good thing? Help me understand.
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: david@fetter.org, tgl@sss.pgh.pa.us, Adrian.Vondendriesch@credativ.de, pgsql-hackers@postgresql.org
Subject: Re: [BUGS] BUG #8128: pg_dump (>= 9.1) failed while dumping a scheme named "old" from PostgreSQL 8.4
In-Reply-To: <20130501161446.GA2127@fetter.org>
References: <E1UXCfT-0006k7-K4@wrigleys.postgresql.org> <15639.1367366007@sss.pgh.pa.us> <20130501142653.GB16330@fetter.org> <3523.1367421148@sss.pgh.pa.us> <20130501161446.GA2127@fetter.org>
* 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