Re: proof concept - access to session variables on client side

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proof concept - access to session variables on client side
Date: 2012-06-26 19:42:38
Message-ID: CAFj8pRDLebfuXQsDH2Av8-=65o+J8p3g3o7LsuM4Cr+KKVviXw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2012/6/26 Merlin Moncure <mmoncure(at)gmail(dot)com>:
> On Tue, Jun 26, 2012 at 3:05 AM, Magnus Hagander <magnus(at)hagander(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2012-06-26 19:49:59 Posix Shared Mem patch
Previous Message Merlin Moncure 2012-06-26 19:33:33 Re: proof concept - access to session variables on client side