From: | Adam Witney <awitney(at)sghms(dot)ac(dot)uk> |
---|---|
To: | Victor Sp=?ISO-8859-1?B?5Q==?=ng Arthursson <victor(at)tosti(dot)dk>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: how to restart on OS X |
Date: | 2003-12-05 10:19:40 |
Message-ID: | BBF60C3C.29B76%awitney@sghms.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
You need to specify where the installations data directory is
sudo /usr/local/bin/pg_ctl -D /path/to/data reload
For example, on my machine:
sudo -u pgsql /usr/local/bin/pg_ctl -D /usr/local/pgsql/data reload
Although you may have to do this as the postgres/pgsql user rather than root
(not sure about this part though)
> Have an installation which comes from Marks site entropy.cz.
>
> But I can't restart the server.
>
> Error message:
>
> [indigo:~] victor% sudo /usr/local/bin/pg_ctl reload
> pg_ctl: no database directory or environment variable $PGDATA is
> specified
> Try 'pg_ctl --help' for more information.
> [indigo:~] victor%
>
> Please help! ;)
>
> Sincerely
>
> Victor
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
From | Date | Subject | |
---|---|---|---|
Next Message | Victor Spång Arthursson | 2003-12-05 10:38:45 | Re: how to restart on OS X [solved] |
Previous Message | Victor Spång Arthursson | 2003-12-05 10:06:51 | how to restart on OS X |