Re: optimizing db for small table with tons of updates
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: optimizing db for small table with tons of updates |
| Дата | |
| Msg-id | 15871.1144092230@sss.pgh.pa.us обсуждение |
| Ответ на | Re: optimizing db for small table with tons of updates (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: optimizing db for small table with tons of updates
|
| Список | pgsql-performance |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> 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.
Also, consider whether a non-password-based auth method (eg, ident)
might work for you. Personally, I wouldn't trust ident over TCP, but
if your kernel supports it on unix-socket connections it is secure.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера