BUG

Поиск
Список
Период
Сортировка
От Mendola Gaetano
Тема BUG
Дата
Msg-id 005b01c308d3$3b28b0f0$152aa8c0@GMENDOLA2
обсуждение исходный текст
Список pgadmin-support
Hi all,
I'm using pgAdmin 1.4.12 and Postgres 7.3.2

I create a function that return a SETOF:

CREATE OR REPLACE FUNCTION foo ( )
RETURNS SETOF public.foo_type AS'
DECLARE
BEGIN

    RETURN ;
END;
' LANGUAGE 'plpgsql';


if I try to edit this function inside pgAdmin the redefinition
fail, pgAdmin try to recreate this function in the following way:


CREATE OR REPLACE FUNCTION public.foo( )
RETURNS public.foo_type AS '
DECLARE
BEGIN

    RETURN ;
END;
' LANGUAGE 'plpgsql';


the SETOF is not there anymore

and correctly postgres say that the new definition change
the return type.


Gaetano


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

Предыдущее
От: "Julie May"
Дата:
Сообщение: large object oid value not showing up in pgAdmin
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: BUG