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  (Ron St-Pierre <rstpierre@syscor.com>)
Список 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 по дате отправления:

Предыдущее
От: Timothy Perrigo
Дата:
Сообщение: Re: questions on rules
Следующее
От: Shanmugasundaram Doraisamy
Дата:
Сообщение: Problem installing postgresql 7.3.6 on Redhat 7.3