Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3VAK-0005XO-7W for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Feb 2013 17:21:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U3VAJ-00064v-1k for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Feb 2013 17:21:39 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3VAI-00064q-6i for pgsql-hackers@postgresql.org; Thu, 07 Feb 2013 17:21:38 +0000 Received: from acidenitrix.villemain.org ([91.121.90.165]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3VAG-0008Qs-W6 for pgsql-hackers@postgresql.org; Thu, 07 Feb 2013 17:21:37 +0000 Received: from [89.157.243.170] (helo=Dimitris-MacBook-Air.local) by acidenitrix.villemain.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1U3VAF-0006lJ-QS; Thu, 07 Feb 2013 18:21:36 +0100 From: Dimitri Fontaine To: Tom Lane Cc: Robert Haas , Simon Riggs , PostgreSQL Hackers Subject: Re: proposal: ANSI SQL 2011 syntax for named parameters Organization: 2ndQuadrant References: <14654.1360256790@sss.pgh.pa.us> User-Mail-Address: dimitri@2ndQuadrant.fr Date: Thu, 07 Feb 2013 18:21:16 +0100 In-Reply-To: <14654.1360256790@sss.pgh.pa.us> (Tom Lane's message of "Thu, 07 Feb 2013 12:06:30 -0500") Message-ID: User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain 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 Tom Lane writes: > If you're suggesting that we should back-patch hstore 1.1 into 9.1, > there might not be a technical reason why we couldn't do it, but there > are certainly project-policy reasons. Removing operators, or indeed > changing any SQL interface at all, is exactly the kind of change we do > not make in back branches. For core itself, it makes perfect sense. For extensions, I wonder about the upgrade path, and if we shouldn't leave some level fo choice to the user. Shipping the ability to upgrade to hstore 1.1 into back branches is not the same thing as upgrading our users. >> To make that easier to maintain, there's a patch in the queue >> implementing default_major_version so that we can ship hstore--1.0.sql >> and hstore--1.0--1.1.sql and still have that command just works: >> CREATE EXTENSION hstore VERSION '1.1'; > > If the argument for this patch is only to support doing something like > the above, I'd vote for rejecting it entirely. This patch allows us to ship bug and security fixes in back branches without having to maintain both the 1.1 and the 1.2 full scripts, as PostgreSQL will now be able to install 1.1 and upgrade to 1.2 at CREATE EXTENSION time. So no, this patch is not made for something like forcing incompatible changes down the throat of our users, it's made to make the life of extension maintainers (core included) easier. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers