composite type and assignment in plpgsql

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема composite type and assignment in plpgsql
Дата
Msg-id 20040427162506.10d9222c@stige.webthatworks.it
обсуждение исходный текст
Ответы Re: composite type and assignment in plpgsql
Список pgsql-general
what's wrong with this?

create type tSession
    as ( ty_found boolean, ty_Session char(32) );

create or replace function GetSessionID( integer )
    returns tSession as '
declare
    thisSession tSession;
begin
    --HERE!!!
    thisSession := ( ''t'', md5( now( ) || rand( ) ) );
    return thisSession;
end;
' language plpgsql;


thx


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