Re: Cannot *start* server because of a typo in pg_hba.conf - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Cannot *start* server because of a typo in pg_hba.conf
Date
Msg-id 29045.1298216382@sss.pgh.pa.us
Whole thread Raw
In response to Cannot *start* server because of a typo in pg_hba.conf  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Responses Re: Cannot *start* server because of a typo in pg_hba.conf
List pgsql-hackers
Devrim GÜNDÜZ <devrim@gunduz.org> writes:
> Yesterday I spent about half an hour to dig an issue on my laptop -- 9.0
> instance did not start, and there were nothing in the logs. Eventually I
> straced postmaster on start, and noticed an extra char in the
> pg_hba.conf, which caused postmaster not to start.

> Is it possible to drop something to (startup) log file and mention about
> the syntax error in hba file?

That information would certainly be logged somewhere.  Maybe you looked
in the wrong log file?  Or you're using one of those configurations
where early output to stderr goes to /dev/null?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Update PostgreSQL shared memory usage table for 9.0?
Next
From: Greg Stark
Date:
Subject: Re: SR standby hangs