Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKCNv-0005vP-0p for pgsql-hackers@arkaria.postgresql.org; Sun, 20 May 2018 00:39:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fKCNt-0006eP-U5 for pgsql-hackers@arkaria.postgresql.org; Sun, 20 May 2018 00:39:37 +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.89) (envelope-from ) id 1fKCNt-0006eF-K5 for pgsql-hackers@lists.postgresql.org; Sun, 20 May 2018 00:39:37 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKCNn-0005vR-1g for pgsql-hackers@postgresql.org; Sun, 20 May 2018 00:39:36 +0000 Received: from [192.168.127.1] (port=30958 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1fKCNk-00008f-5L; Sun, 20 May 2018 00:39:28 +0000 Received: from [127.0.0.1] (port=30826 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1fKCNj-0002Qv-Fv; Sun, 20 May 2018 00:39:27 +0000 From: Andrew Gierth To: Tom Lane Cc: Vik Fearing , pgsql-hackers@postgresql.org Subject: Re: Fix for FETCH FIRST syntax problems In-Reply-To: <25267.1526773270@sss.pgh.pa.us> (Tom Lane's message of "Sat, 19 May 2018 19:41:10 -0400") Message-ID: <87y3gf2mep.fsf@news-spur.riddles.org.uk> References: <877enz476l.fsf@news-spur.riddles.org.uk> <22981.1526770675@sss.pgh.pa.us> <03da97fc-9d6b-cbe1-c28f-cee7c1ba5c38@2ndquadrant.com> <25267.1526773270@sss.pgh.pa.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Sun, 20 May 2018 01:39:27 +0100 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Tom" == Tom Lane writes: >> I'm +1 for backpatching it. It may be operating as designed by >> PeterE ten years ago, but it's not operating as designed by the SQL >> standard. Tom> By that argument, *anyplace* where we're missing a SQL-spec Tom> feature is a back-patchable bug. I don't buy it. But this is a feature we already claimed to actually support (it's listed in sql_features with a bunch of unqualified YES entries), but in fact doesn't work properly. -- Andrew (irc:RhodiumToad)