On Wed, Jul 29, 2015 at 3:48 AM, Heikki Linnakangas <hlinn...@iki.fi> wrote:
> On 07/18/2015 01:32 AM, Corey Huinker wrote: > >> So this patch would result in less C code while still adding 3 new >> functions. Can anyone think of why that wouldn't be the best way to go? >> > > Let's pursue the "CAST(srf() AS row_rtype)" syntax that Joe suggested > upthread ( > http://www.postgresql.org/message-id/559a9643.9070...@joeconway.com). For > some reason, the discussion went on around the details of the submitted > patch after that, even though everyone seemed to prefer the CAST() syntax. > > - Heikki > > I'm all for adding that syntax, but it wouldn't be useful for my purposes unless row_rtype could be a variable, and my understanding is that it can't.