For information on setting up a .pgpass file:
http://www.postgresql.org/docs/8.0/static/libpq-pgpass.html
Charley
On Aug 25, 2005, at 2:31 PM, <kynn@panix.com> <kynn@panix.com> wrote:
>
>
> I'm setting up PostgreSQL for a small academic lab, where I work. The
> host OS is Linux (Debian). I want to allow most users to connect to
> the database without having to supply a password, but I want to have a
> special user, called dbadmin, with superuser privileges. The idea is
> that I (or whoever gets entrusted with this responsibility) would
> connect as dbadmin *only* when the task at hand required superuser
> privileges.
>
> I'd be very grateful if someone could explain to me how to set this
> up.
>
> (If there were a simple way to obviate the need to type in a password
> every time (e.g. through a suitable command in a configuration file,
> such as one can do with ${HOME}/.my.cnf), then I could just require a
> password from everyone, but I have not found out how to do this in
> PostgreSQL.)
>
> Many thanks in advance!
>
> kj
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>