Re: Patch: psql \whoami option

Поиск
Список
Период
Сортировка
От David Christensen
Тема Re: Patch: psql \whoami option
Дата
Msg-id AF292048-F9D7-44C1-A767-D1F51447999F@endpoint.com
обсуждение исходный текст
Ответ на Re: Patch: psql \whoami option  (Martin Atukunda <matlads@gmail.com>)
Список pgsql-hackers
On Jan 27, 2010, at 5:23 AM, Martin Atukunda wrote:

> How about using the psql prompt to convey this information? IIRC the  
> psql prompt can be configured to show the hostname, server, port and  
> other fields. Wouldn't this be enough? or am I missing something?

Prompt customization is certainly something that could be done (and I  
use in my .psqlrc), but consider someone unaware of the psql prompt  
customization or people who are not using their own setup/account,  
etc.  This is a command that could be useful for anyone; as experts,  
we tend to miss some of the holes in the current interfaces.

Regards,

David
--
David Christensen
End Point Corporation
david@endpoint.com






В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: C function accepting/returning cstring vs. text
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Patch: psql \whoami option