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