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 Raw
In response to Re: dblink: add polymorphic functions.  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: dblink: add polymorphic functions.
List pgsql-hackers
<div dir="ltr"><div class="gmail_extra"><br /><div class="gmail_quote">On Wed, Jul 29, 2015 at 3:48 AM, Heikki
Linnakangas<span dir="ltr"><<a href="mailto:hlinnaka@iki.fi" target="_blank">hlinnaka@iki.fi</a>></span>
wrote:<br/><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On07/18/2015 01:32 AM, Corey Huinker wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px#ccc solid;padding-left:1ex"> So this patch would result in less C code while still adding 3 new<br
/>functions. Can anyone think of why that wouldn't be the best way to go?<br /></blockquote><br /></span> Let's pursue
the"CAST(srf() AS row_rtype)" syntax that Joe suggested upthread (<a
href="http://www.postgresql.org/message-id/559A9643.9070409@joeconway.com"rel="noreferrer"
target="_blank">http://www.postgresql.org/message-id/559A9643.9070409@joeconway.com</a>).For some reason, the
discussionwent on around the details of the submitted patch after that, even though everyone seemed to prefer the
CAST()syntax.<span class="HOEnZb"><font color="#888888"><br /><br /> - Heikki<br /><br
/></font></span></blockquote></div><br/></div><div class="gmail_extra">I'm all for adding that syntax, but it wouldn't
beuseful for my purposes unless row_rtype could be a variable, and my understanding is that it can't.</div><div
class="gmail_extra"><br/></div><div class="gmail_extra"><br /></div></div> 

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