pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Cc: Kevin Grittner <kgrittn@gmail.com>
Subject: Re: Inadequate infrastructure for NextValueExpr
Date: Fri, 18 Aug 2017 01:43:14 +0100
Message-ID: <87shgpn237.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAEepm=19UberfCpdi5QejE7npuOUtewWdmdr+LSEqR8bXHd+cQ@mail.gmail.com>
References: <23862.1499981661@sss.pgh.pa.us>
	<CAEepm=1X-pBKQ7X4sUOv9bQOp4tpXDWcj3fgTX_h6Th4EmBLag@mail.gmail.com>
	<CAEepm=19UberfCpdi5QejE7npuOUtewWdmdr+LSEqR8bXHd+cQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

>>>>> "Thomas" == Thomas Munro <thomas.munro@enterprisedb.com> 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



view thread (7+ messages)

Message-ID: <87shgpn237.fsf@news-spur.riddles.org.uk>
Permalink:  ../87shgpn237.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87shgpn237.fsf@news-spur.riddles.org.uk

 · 

reply

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-hackers@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, thomas.munro@enterprisedb.com, tgl@sss.pgh.pa.us, kgrittn@gmail.com
  Subject: Re: Inadequate infrastructure for NextValueExpr
  In-Reply-To: <87shgpn237.fsf@news-spur.riddles.org.uk>
  References: <23862.1499981661@sss.pgh.pa.us> <CAEepm=1X-pBKQ7X4sUOv9bQOp4tpXDWcj3fgTX_h6Th4EmBLag@mail.gmail.com> <CAEepm=19UberfCpdi5QejE7npuOUtewWdmdr+LSEqR8bXHd+cQ@mail.gmail.com> <87shgpn237.fsf@news-spur.riddles.org.uk>

* 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