Re: starting postgresql with pgsql password - workarounds? - Mailing list pgsql-general

From Tom Lane
Subject Re: starting postgresql with pgsql password - workarounds?
Date
Msg-id 27947.1116618411@sss.pgh.pa.us
Whole thread Raw
In response to Re: starting postgresql with pgsql password - workarounds?  (Franco Bruno Borghesi <fborghesi@gmail.com>)
List pgsql-general
>> # set defaults
>> postgresql_enable=${postgresql_enable:-"NO"}
>> postgresql_flags=${postgresql_flags:-"-w -s -m fast"}

Try it without the "-w" ... that's probably causing it to try to connect
with psql.

Alternatively, set up a ~/.pgpass file for the postgres user (which
might be a reasonable thing anyway).

BTW, this script seems fairly brain-dead in assuming that the same
option flags should apply to all pg_ctl commands.

            regards, tom lane

pgsql-general by date:

Previous
From: Franco Bruno Borghesi
Date:
Subject: Re: starting postgresql with pgsql password - workarounds?
Next
From: Mario Soto Cordones
Date:
Subject: Re: materialized view