Re: multiple CREATE FUNCTION AS items for PLs - Mailing list pgsql-hackers

From Robert Haas
Subject Re: multiple CREATE FUNCTION AS items for PLs
Date
Msg-id CA+TgmoYWZWAcP6d_8k6v_36-P2Q4AH1PMij-eRLMhCJOhDzY3w@mail.gmail.com
Whole thread Raw
In response to Re: multiple CREATE FUNCTION AS items for PLs  (Hannu Krosing <hannu@krosing.net>)
List pgsql-hackers
On Fri, Dec 28, 2012 at 7:09 AM, Hannu Krosing <hannu@krosing.net> wrote:
> thus
>
> CREATE FUNCTION foo(a int,b int, c text)
>
> would create module
>
> plpy.modules.foo_int4_int4_text

I don't know much of anything about Python, but keep in mind that
types can be renamed.  It seems like that could break things if the
type name is included in the module name.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Whats the correct way to change trigdata->tg_relation
Next
From: Robert Haas
Date:
Subject: Re: proposal: ANSI SQL 2011 syntax for named parameters