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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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