Re: transforms - Mailing list pgsql-hackers

From Andres Freund
Subject Re: transforms
Date
Msg-id 20130311171109.GB654@awork2.anarazel.de
Whole thread Raw
In response to Re: transforms  (Josh Berkus <josh@agliodbs.com>)
Responses Re: transforms  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 2013-03-11 09:55:34 -0700, Josh Berkus wrote:
> On 03/11/2013 09:50 AM, Andres Freund wrote:
> > DO LANGUAGE plperlu $$$$;
> > SELECT NULL::hstore;
> 
> Aha, so that's what you meant!
> 
> Yeah, it works if I reference both extensions before the CREATE EXTENSION.
> 
> In that case, seems like that could be added to the extension SQL, no?

If we don't find a better solution, yes. Why don't we lookup type
input/ouput function for parameters and return type during CREATE
FUNCTION? That should solve the issue in a neater way?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgres_fdw vs data formatting GUCs (was Re: [v9.3] writable foreign tables)
Next
From: Tom Lane
Date:
Subject: matview patch readability/correctness gripe