From: Matthew D. Fuller <fullermd@over-yonder.net>
To: Dave <dave@hawk-systems.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: Postgres not starting at boot(FreeBSD) - startup script not releasing < solved
Date: Mon, 11 Mar 2002 03:54:58 -0600
Message-ID: <20020311035458.I57293@over-yonder.net> (raw)
In-Reply-To: <DBEIKNMKGOBGNDHAAKGNEEILNAAA.dave@hawk-systems.com>
References: <20020310143824.H57293@over-yonder.net>
<DBEIKNMKGOBGNDHAAKGNEEILNAAA.dave@hawk-systems.com>
On Sun, Mar 10, 2002 at 06:11:21PM -0500 I heard the voice of
Dave, and lo! it spake thus:
> Bingo! Dumb move. Dropped everything to password a few months back, never had
> the occasion to restart after that. Will work on tweaking the pg_hba.conf
FWIW (after a quick glance at the default script and the manpage), "-w"
is the pg_ctl option that makes it wait. I just take it out; it only
takes PG a few seconds to initialize, so it's ready to go long before
something would need to connect to it.
It could also be said that having -w implemented as invoking psql to try
to connect as the DB superuser assuming no password is a rather
inappropriate way of going about it, but that's another can of worms.
--
Matthew Fuller (MF4839) | fullermd@over-yonder.net
Unix Systems Administrator | fullermd@futuresouth.com
Specializing in FreeBSD | http://www.over-yonder.net/
"The only reason I'm burning my candle at both ends, is because I
haven't figured out how to light the middle yet"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: fullermd@over-yonder.net, dave@hawk-systems.com, pgsql-general@postgresql.org
Subject: Re: Postgres not starting at boot(FreeBSD) - startup script not releasing < solved
In-Reply-To: <20020311035458.I57293@over-yonder.net>
References: <20020310143824.H57293@over-yonder.net> <DBEIKNMKGOBGNDHAAKGNEEILNAAA.dave@hawk-systems.com> <20020311035458.I57293@over-yonder.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox