Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diVPJ-0001H7-3y for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Aug 2017 00:45:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1diVPH-0004hU-JB for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Aug 2017 00:44:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1diVNk-00020v-UD for pgsql-hackers@postgresql.org; Fri, 18 Aug 2017 00:43:24 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1diVNh-0001ru-GB for pgsql-hackers@postgresql.org; Fri, 18 Aug 2017 00:43:24 +0000 Received: from [192.168.127.1] (port=58652 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 1diVNd-0003j1-6K; Fri, 18 Aug 2017 00:43:17 +0000 Received: from [127.0.0.1] (port=51344 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1diVNc-00038x-B9; Fri, 18 Aug 2017 00:43:16 +0000 From: Andrew Gierth To: Thomas Munro Cc: Tom Lane , Pg Hackers , Kevin Grittner Subject: Re: Inadequate infrastructure for NextValueExpr In-Reply-To: (Thomas Munro's message of "Fri, 18 Aug 2017 10:47:23 +1200") Message-ID: <87shgpn237.fsf@news-spur.riddles.org.uk> References: <23862.1499981661@sss.pgh.pa.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Fri, 18 Aug 2017 01:43:14 +0100 MIME-Version: 1.0 Content-Type: text/plain 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 >>>>> "Thomas" == Thomas Munro writes: >> [...] >> T_NamedTuplestoreScan can be produced by outfuncs.c with tagname >> NAMEDTUPLESTORESCAN but that tagname is not recognized by readfuncs.c >> [...] >> >> That revealed a defect in commit >> 18ce3a4ab22d2984f8540ab480979c851dae5338 which I think should be >> corrected with something like the attached, though I'm not sure if >> it's possible to reach it. Thomas> Adding Kevin and Andrew G. Thoughts on whether this is a Thomas> defect that should be corrected with something like Thomas> read-namedtuplestorescan.patch? It's a defect that should probably be corrected for consistency, though at present it looks like it's not actually possible to reach the code. The patch looks good to me though I've not tested it. Kevin, you want to take it? Or shall I deal with it? -- Andrew (irc:RhodiumToad) -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers