Skip site navigation (1) Skip section navigation (2)

Re: multiple CREATE FUNCTION AS items for PLs

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Hannu Krosing <hannu(at)krosing(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: multiple CREATE FUNCTION AS items for PLs
Date: 2013-01-02 22:36:33
Message-ID: CA+TgmoYWZWAcP6d_8k6v_36-P2Q4AH1PMij-eRLMhCJOhDzY3w@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, Dec 28, 2012 at 7:09 AM, Hannu Krosing <hannu(at)krosing(dot)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


In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2013-01-02 22:51:50
Subject: Re: json api WIP patch
Previous:From: Robert HaasDate: 2013-01-02 21:51:40
Subject: Re: Whats the correct way to change trigdata->tg_relation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group