Re: optimizing db for small table with tons of updates - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: optimizing db for small table with tons of updates
Date
Msg-id 20060403190354.GC15756@surnet.cl
Whole thread Raw
In response to Re: optimizing db for small table with tons of updates  (Kenji Morishige <kenjim@juniper.net>)
Responses Re: optimizing db for small table with tons of updates
Re: optimizing db for small table with tons of updates
List 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 by date:

Previous
From: Kenji Morishige
Date:
Subject: Re: optimizing db for small table with tons of updates
Next
From: Kenji Morishige
Date:
Subject: Re: optimizing db for small table with tons of updates