Re: Packages in oracle Style

Поиск
Список
Период
Сортировка
От
Тема Re: Packages in oracle Style
Дата
Msg-id 02389fff58bdfb93f27630ae8e0a8ee0@localhost
обсуждение исходный текст
Ответ на Re: Packages in oracle Style  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: Packages in oracle Style  (Joe Conway <mail@joeconway.com>)
Re: Packages in oracle Style  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-hackers
I have implemented a solution for global variables implemented in plpython and I need implement this in c :)

My implementation:

select set_session('USER','coutinho');
select set_session('EMAIL','coutinho@mondriantecnologia.com');

select get_session('USER');
> coutinho

select get_session('EMAIL');
> coutinho@mondriantecnologia.com


On Wed, 28 May 2008 22:13:31 +0200, "Pavel Stehule" <pavel.stehule@gmail.com> wrote:
> 2008/5/27 Zdenek Kotala <Zdenek.Kotala@sun.com>:
>> Coutinho napsal(a):
>>>
>>> this is listed on TODO:
>>> http://www.postgresql.org/docs/faqs.TODO.html
>>>
>>> Add features of Oracle-style packages (Pavel)
>>>
> 
> My last idea was only global variables for plpgsql. It needs hack of
> plpgsql :(. But it's can be simple work.
> 
> Pavel
> 
>>
>> I see. Sorry I overlooked it. I think Pavel Stehule will help you. He
> has
>> idea how to do it.
>>
>>                Zdenek
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>>



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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: proposal: Preference SQL
Следующее
От: Kevin Walker
Дата:
Сообщение: Re: proposal: Preference SQL