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

From Alvaro Herrera
Subject Re: dblink: add polymorphic functions.
Date
Msg-id 20160108150058.GA583091@alvherre.pgsql
Whole thread Raw
In response to Re: dblink: add polymorphic functions.  (Joe Conway <mail@joeconway.com>)
Responses Re: dblink: add polymorphic functions.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Joe Conway wrote:
> On 07/30/2015 09:51 AM, Tom Lane wrote:
> > Joe Conway <mail@joeconway.com> writes:
> >> What about just TYPE then?
> > 
> >>     SELECT x::TYPE(some_expression) FROM ...
> >>     SELECT CAST (x AS TYPE(some_expression)) FROM ...
> 
> > The main limitation of this patch is that it won't work for call sites
> > that pass pstate == NULL to LookupTypeName.  There are a fair number
> > of them, some of which wouldn't care because they could never invoke
> > this notation anyway, but for others we'd need to do some work to cons
> > up a suitable pstate.
> 
> Sorry it took so long for me to get back to this, but any reason the
> attached won't work?

So, is this going anywhere?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: New feature "... ALTER CONSTRAINT ... VERIFY USING INDEX"
Next
From: Tom Lane
Date:
Subject: Re: No Issue Tracker - Say it Ain't So!