Re: dblink: add polymorphic functions. - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: dblink: add polymorphic functions.
Date
Msg-id CADkLM=e3tz4ap0n2HnzKApGfCQ2zB9Bft+mgFaUd_G+L8AKzbA@mail.gmail.com
Whole thread
In response to Re: dblink: add polymorphic functions.  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: dblink: add polymorphic functions.
List pgsql-hackers

On Wed, Jul 29, 2015 at 3:48 AM, Heikki Linnakangas <hlinnaka@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.9070409@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.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: upgrade failure from 9.5 to head
Next
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan