Re: optimizing db for small table with tons of updates

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: optimizing db for small table with tons of updates
Дата
Msg-id 20060403190354.GC15756@surnet.cl
обсуждение исходный текст
Ответ на Re: optimizing db for small table with tons of updates  (Kenji Morishige <kenjim@juniper.net>)
Ответы Re: optimizing db for small table with tons of updates  (Kenji Morishige <kenjim@juniper.net>)
Re: optimizing db for small table with tons of updates  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Kenji Morishige wrote:
> I've been stumped as to how to call psql from the command line without it
> prompting me for a password. Is there a enviornoment variable I can specify for
> the password or something I can place in .pgsql?  I could write a perl wrapper
> around it, but I've been wondering how I can call psql -c without it prompting
> me. Is it possible?

Sure it is.  Set up a .pgpass file.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Kenji Morishige
Дата:
Сообщение: Re: optimizing db for small table with tons of updates
Следующее
От: Kenji Morishige
Дата:
Сообщение: Re: optimizing db for small table with tons of updates