Re: pg_hba reload

Поиск
Список
Период
Сортировка
От Rodrigo Gonzalez
Тема Re: pg_hba reload
Дата
Msg-id 1234654907.7120.0.camel@rjgonzale-laptop
обсуждение исходный текст
Ответ на Re: pg_hba reload  ("Bob Pawley" <rjpawley@shaw.ca>)
Список pgsql-general
Use quotes, there is a space between program and files

pg_ctl reload -D "c:\program files\postgresql\8.3\data"

On Sat, 2009-02-14 at 15:31 -0800, Bob Pawley wrote:
> I'm running 8.3 on Windows XP.
>
> I input > pg_ctl reload -D c:\program files\postgresql\8.3\data    - or any
> combination thereof, with or without brackets and the server is running.
>
> The return is - 'pg_ctl: too many command-line arguments'.
>
> Bob
> ----- Original Message -----
> From: "John R Pierce" <pierce@hogranch.com>
> To: "PostgreSQL" <pgsql-general@postgresql.org>
> Sent: Saturday, February 14, 2009 2:25 PM
> Subject: Re: [GENERAL] pg_hba reload
>
>
> > Bob Pawley wrote:
> >> I am attempting to load postmaster.
> >>
> >> pg_ctl reload
> >>
> >> I don't understand what is needed for [-D DATADIR]. I have tried the path
> >> to Postgresql with no luck.
> >>
> >> I've also leftoff [-s] since it doesn't appear to be needed.
> >>
> >> Help would be appreciated.
> >
> > unclear from your description what help you specifically need.   there's
> > no actual questions there..
> >
> > what happened when you "attempt" this?
> >
> > the DATADIR is the full path to the postgres data directory, such as
> > /var/lib/pgsql/data on my RHEL/CentOS linux systems or "/program
> > files/postgresql/8.3/data" on a windows system.   the -s flag is 'silent'
> > and yes, quite unneccessary here.    the only output from a 'reload'
> > command is 'server signaled', to find out if it was successful, you'd need
> > to check the server logfile, such as
> > DATADIR/pg_log/postgresql-2009-02-14_000000.log, where you'd see something
> > like...
> >
> >    LOG:  received SIGHUP, reloading configuration files
> >
> > as a response to the reload request.
> >
> > --
> > Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-general
>
>



В списке pgsql-general по дате отправления:

Предыдущее
От: "Bob Pawley"
Дата:
Сообщение: Re: pg_hba reload
Следующее
От: Greg Smith
Дата:
Сообщение: Re: clearing the buffer cache