Re: multiple CREATE FUNCTION AS items for PLs

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: multiple CREATE FUNCTION AS items for PLs
Дата
Msg-id 50CE1977.9050508@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: multiple CREATE FUNCTION AS items for PLs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 12/16/2012 07:44 PM, Tom Lane wrote:
> Hannu Krosing <hannu@2ndQuadrant.com> writes:
>>> On further thought the function name should just be what it is defined
>>> in postgresql, like this
>>> CREATE FUNCTION foo(a,b,c) AS $$
>>>     def foo(a,b,c):
> BTW, how well will that play with overloaded function names?  I don't
> particularly care for saying that PL/Python fails if you overload a
> function name across multiple schemas or argument lists ...
Currently each pl/python function gets compiled in its own python
module namespace, so this is not be a problem .

--------------
Hannu






В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: multiple CREATE FUNCTION AS items for PLs
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: multiple CREATE FUNCTION AS items for PLs