Re: .ini support for .pgpass

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: .ini support for .pgpass
Дата
Msg-id 1302111081.23164.1.camel@jd-desktop
обсуждение исходный текст
Ответ на Re: .ini support for .pgpass  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
On Wed, 2011-04-06 at 09:10 +0200, Martijn van Oosterhout wrote:
> On Tue, Apr 05, 2011 at 11:55:04PM -0700, Joshua D. Drake wrote:
> > I want to achieve two things:
> > 
> > 1. More understandable .pgpass format. Yes, I understand our standard
> > format, most people won't. Like JoshB said, hard to debug.
> 
> This I understand.
> 
> > 2. psql foo, gets me into foo. A macro for connections if you will.
> 
> But this is precisely what the service file achieves, right? ISTM what
> you d like is to be able to specify the password in the service file,
> in which case pgpass is not consulted.

Right, as I said (I thought) earlier, after reviewing pg_service it
seems that pgpass is (or pg_service is) redundant. It should be one
file.

JD

> 
> Have a nice day,

-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Windows build issues
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Should psql support URI syntax?