Re: PQconninfo function for libpq

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: PQconninfo function for libpq
Дата
Msg-id 50B53184.3070304@gmx.net
обсуждение исходный текст
Ответ на Re: PQconninfo function for libpq  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: PQconninfo function for libpq  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 11/27/12 4:20 PM, Magnus Hagander wrote:
> On Tue, Nov 27, 2012 at 10:13 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
>> On 11/22/12 6:44 AM, Magnus Hagander wrote:
>>> I'm thinking it might be a better idea to just have PG_CONNINFO_NORMAL
>>> and PG_CONNINFO_PASSWORD (which still make sense to separate),
>>
>> What is the use case for separating them?
> 
> Getting a connection string that doesn't contain sensitive information
> like a password. In order to show it in a dialog box, for example.

There is already the PQconninfoOption.dispchar field for this purpose.




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bugs in CREATE/DROP INDEX CONCURRENTLY
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: MySQL search query is not executing in Postgres DB