Re: Cannot *start* server because of a typo in pg_hba.conf

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: PostgreSQL Hackers ML <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Cannot *start* server because of a typo in pg_hba.conf
Date: 2011-02-20 15:39:42
Message-ID: 29045.1298216382@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim(at)gunduz(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2011-02-20 17:39:18 Re: SR standby hangs
Previous Message Tom Lane 2011-02-20 15:21:18 Re: Update PostgreSQL shared memory usage table for 9.0?