Re: proof concept - access to session variables on client side - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proof concept - access to session variables on client side
Date
Msg-id CAFj8pRDLebfuXQsDH2Av8-=65o+J8p3g3o7LsuM4Cr+KKVviXw@mail.gmail.com
Whole thread Raw
In response to Re: proof concept - access to session variables on client side  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
2012/6/26 Merlin Moncure <mmoncure@gmail.com>:
> On Tue, Jun 26, 2012 at 3:05 AM, Magnus Hagander <magnus@hagander.net> wrote:
>> But with a small change to psql they could, without the need for a
>> whole new type of variable. For example, psql could set all those
>> variable as "psql.<commandlinevarname>", which could then be accessed
>> from the DO PL code just fine.
>
> That's a really neat idea.

yes, it can be good idea - psql sends some status variables on start,
so it should be small patch

Pavel

>
> merlin


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: proof concept - access to session variables on client side
Next
From: Josh Berkus
Date:
Subject: Posix Shared Mem patch