Re: Packages in oracle Style - Mailing list pgsql-hackers

From
Subject Re: Packages in oracle Style
Date
Msg-id 02389fff58bdfb93f27630ae8e0a8ee0@localhost
Whole thread Raw
In response to Re: Packages in oracle Style  ("Pavel Stehule" <[email protected]>)
Responses Re: Packages in oracle Style
Re: Packages in oracle Style
List 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','[email protected]');

select get_session('USER');
> coutinho

select get_session('EMAIL');
> [email protected]


On Wed, 28 May 2008 22:13:31 +0200, "Pavel Stehule" <[email protected]> wrote:
> 2008/5/27 Zdenek Kotala <[email protected]>:
>> 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 ([email protected])
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>>



pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: proposal: Preference SQL
Next
From: Kevin Walker
Date:
Subject: Re: proposal: Preference SQL