From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Magnus Hagander <magnus(at)hagander(dot)net>
Cc:
Martin Atukunda <matlads(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>,
David Christensen <david(at)endpoint(dot)com>,
pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: Patch: psql \whoami option
Date:
2010-01-27 16:39:39
Message-ID:
8054.1264610379@sss.pgh.pa.us (view raw or flat )
Thread:
2010-01-26 23:24:14 from David Christensen <david(at)endpoint(dot)com>
2010-01-27 02:35:52 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-01-27 10:01:32 from Magnus Hagander <magnus(at)hagander(dot)net>
2010-01-27 11:23:44 from Martin Atukunda <matlads(at)gmail(dot)com>
2010-01-27 11:36:15 from Magnus Hagander <magnus(at)hagander(dot)net>
2010-01-27 16:39:39 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-01-27 14:06:17 from David Christensen <david(at)endpoint(dot)com>
2010-01-27 14:01:04 from David Christensen <david(at)endpoint(dot)com>
2010-01-27 14:08:23 from Magnus Hagander <magnus(at)hagander(dot)net>
2010-01-27 14:14:17 from David Christensen <david(at)endpoint(dot)com>
2010-01-27 15:43:04 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-01-27 13:14:04 from Thom Brown <thombrown(at)gmail(dot)com>
2010-01-27 13:17:28 from Thom Brown <thombrown(at)gmail(dot)com>
2010-02-05 17:45:09 from Bruce Momjian <bruce(at)momjian(dot)us>
2010-06-21 02:51:01 from Steve Singer <ssinger_pg(at)sympatico(dot)ca>
2010-06-21 04:07:01 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-06-21 14:00:53 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-07-18 17:17:44 from David Christensen <david(at)endpoint(dot)com>
2010-07-18 17:29:22 from David Christensen <david(at)endpoint(dot)com>
2010-07-19 02:00:39 from Steve Singer <ssinger_pg(at)sympatico(dot)ca>
2010-07-18 17:30:00 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-07-18 17:33:51 from David Christensen <david(at)endpoint(dot)com>
2010-07-18 18:00:03 from David Christensen <david(at)endpoint(dot)com>
2010-07-20 03:34:43 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-20 03:41:47 from David Christensen <david(at)endpoint(dot)com>
2010-07-20 03:55:20 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-20 04:02:40 from David Christensen <david(at)endpoint(dot)com>
2010-07-20 04:07:22 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-20 04:10:39 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-20 04:16:50 from David Christensen <david(at)endpoint(dot)com>
2010-07-20 14:14:51 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-21 05:07:59 from Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
2010-07-21 10:29:38 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-22 01:48:29 from Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
2010-07-22 02:09:15 from David Christensen <david(at)endpoint(dot)com>
2010-07-22 02:59:32 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-22 02:57:22 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-07-22 03:13:48 from Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
2010-07-23 14:57:57 from Robert Haas <robertmhaas(at)gmail(dot)com>
2010-06-21 14:51:47 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Lists:
pgsql-hackers
Magnus Hagander <magnus(at)hagander(dot)net> writes:
> 2010/1/27 Martin Atukunda <matlads(at)gmail(dot)com>:
>> How about using the psql prompt to convey this information?
> I think the idea is that if you do that, it'll be there all the time,
> potentially "crowding the space".
I had the same reaction as Martin. If you want this info all the time,
setting the prompt is the way to go. If you only want it occasionally,
you're probably more likely to remember other ways of getting the info
first (session_user, pg_stat_activity, etc etc). There may be some
use-case in between where another backslash command would be helpful,
but it seems a tad marginal to me. I don't object as long as it's not
overdesigned, but let's keep the bells and whistles to a minimum.
regards, tom lane
In response to
pgsql-hackers by date
Next :From: Tim BunceDate: 2010-01-27 16:40:19
Subject : Re: Add on_perl_init and proper destruction to plperl
[PATCH]
Previous :From : Heikki LinnakangasDate : 2010-01-27 16:38:00
Subject : Re: testing cvs HEAD - HS/SR - missing file