| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net> |
| Cc: | "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: WIP patch for TODO Item: Add prompt escape to display the client and server versions |
| Date: | 2009-07-17 21:24:01 |
| Message-ID: | 8507.1247865841@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Dickson S. Guedes" <listas(at)guedesoft(dot)net> writes:
> Em Thu, 16 Jul 2009 17:40:45 -0300, Peter Eisentraut <peter_e(at)gmx(dot)net>
> escreveu:
>> More generally, does anyone actually need this feature? psql complains
>> loudly enough if the version numbers are not the right ones. I don't
>> know why this would need to be repeated in the prompt.
> An use case that i can figure out is an user that connects in multiples
> instances in a lot of remote sites (like home-officer for example) and
> needs this information in the prompt to don't lost the context of your
> work. Is this valid?
It seems unlikely that the DB version number would be worth the prompt
space. In situations like that you'd much more likely need identifying
info like the DB hostname and port number.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Martin Pihlak | 2009-07-17 21:26:40 | Re: Non-blocking communication between a frontend and a backend (pqcomm) |
| Previous Message | ANdreas Wenk | 2009-07-17 21:13:29 | psql - small fix in \du |