Re: Can't get pg_hba.conf to work

Поиск
Список
Период
Сортировка
Искать
От
Doug Silver
Тема
Re: Can't get pg_hba.conf to work
Дата
Msg-id
Pine.LNX.4.21.0206261651110.23122-100000@danzig.sd.quantified.net
Ответ на
Список
Дерево обсуждения
Can't get pg_hba.conf to work Doug Silver <dsilver@urchin.com>
Re: Can't get pg_hba.conf to work Tom Lane <tgl@sss.pgh.pa.us>
Re: Can't get pg_hba.conf to work Doug Silver <dsilver@urchin.com>
On Wed, 26 Jun 2002, Tom Lane wrote:

> Doug Silver  writes:
> > And no matter what I put in the pg_hba.conf file, I get the following:
> > parse_hba: invalid syntax in pg_hba.conf file at line 253, token
> > "localhost"
> > FATAL 1:  Missing or erroneous pg_hba.conf file, see postmaster log for
> > details
> 
> In 7.2 you must SIGHUP the postmaster to get it to take notice of
> changes in its config files --- the thing is still complaining about
> an error in whatever the file contained when you started it.
> 
> "pg_ctl reload" is a convenient script for sending SIGHUP to the
> postmaster.
> 
> 			regards, tom lane
> 

Thanks Tom -- That was indeed the problem.

Didn't know about the SIGHUP aspect of postgres.  Hmmm, RTFM? ;-)

I've since added the reload to the contributed startup script so I
remember it the next time.  Nothing more than these four lines:

    reload)
	su -l $PGUSER -c "$DAEMON reload"
	echo 'Reloading (SIGHUP) Postgresql'
	;;

Thanks.

-d
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
Network Manager
Urchin Software Corp.	http://www.urchin.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



В списке pgsql-novice по дате отправления
От: Tom Lane
Дата:
От: cmasters
Дата:
Сообщение: Help with creating function
FAQ