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: (view raw or whole 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
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-2015 The PostgreSQL Global Development Group