2012/6/26 Merlin Moncure <mmonc...@gmail.com>: > On Tue, Jun 26, 2012 at 3:05 AM, Magnus Hagander <mag...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers