Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UXap6-0004ql-P9 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 May 2013 17:28:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UXap6-0001BY-9C for pgsql-hackers@arkaria.postgresql.org; Wed, 01 May 2013 17:28:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UXap4-0001A0-EW for pgsql-hackers@postgresql.org; Wed, 01 May 2013 17:28:06 +0000 Received: from cronos.madness.at ([2a02:16a8:dc41::10]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UXap1-00081z-0U for pgsql-hackers@postgresql.org; Wed, 01 May 2013 17:28:06 +0000 Received: from mastermind.kaltenbrunner.cc ([2001:470:7a2d::22]) by cronos.madness.at with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UXaou-0000Fw-Lm; Wed, 01 May 2013 19:27:58 +0200 Message-ID: <51815090.2090106@kaltenbrunner.cc> Date: Wed, 01 May 2013 19:27:44 +0200 From: Stefan Kaltenbrunner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: David Fetter CC: Tom Lane , Adrian.Vondendriesch@credativ.de, PG Hackers Subject: Re: Re: [BUGS] BUG #8128: pg_dump (>= 9.1) failed while dumping a scheme named "old" from PostgreSQL 8.4 References: <15639.1367366007@sss.pgh.pa.us> <20130501142653.GB16330@fetter.org> <3523.1367421148@sss.pgh.pa.us> <20130501161446.GA2127@fetter.org> In-Reply-To: <20130501161446.GA2127@fetter.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 05/01/2013 06:14 PM, David Fetter wrote: > On Wed, May 01, 2013 at 11:12:28AM -0400, Tom Lane wrote: >> David Fetter 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. past history has shown that this is relatively rare and almost always it was possible to find a way around - not sure why we need to panic in advance? > > 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. as per the discussion on IRC - this would break applications left and right for no real reason and no good, and I don't think hypothetical features that have not even fully discused warrant anything like that. Also this would be an uphill battle for no good (ie every few years when a new spec comes out we break apps for a feature we might geht 10 years later?) > > 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. why is breaking random applications or making it harder for people to migrate from other databases without any reason a good thing? Stefan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers