From: | HIRANO Yoshitaka <yo(at)hirano(dot)cc> |
---|---|
To: | andrew(at)dunslane(dot)net |
Cc: | pgsql-hackers(at)postgresql(dot)org, yo(at)hirano(dot)cc |
Subject: | Re: pg_ctl -w with postgresql.conf in non-default path |
Date: | 2008-07-07 16:11:46 |
Message-ID: | 20080708.011146.74252264.yo@hirano.cc |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
From: Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: [HACKERS] pg_ctl -w with postgresql.conf in non-default path
Date: Mon, 07 Jul 2008 09:07:14 -0400
> Try setting the port for pg_ctl: PGPORT=nnn pg_ctl -D datadir -w start
Thank you, andrew, I understand what I did was not right way to specify the port.
And finally i found the way to specify the path of postgresql.conf file
in the manual 18.2.
| If you wish to keep the configuration files elsewhere than the data directory,
| the postgres -D command-line option or PGDATA environment variable must point
| to the directory containing the configuration files, and the data_directory
| parameter must be set in postgresql.conf (or on the command line) to show
| where the data directory is actually located.
This is very complicated and not intuitive way but I understand in this case
pg_ctl.c works well.
Regards.
--
HIRANO Yoshitaka
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2008-07-07 16:31:58 | Re: [PATCHES] column level privileges |
Previous Message | Tom Lane | 2008-07-07 15:58:45 | Re: gsoc, text search selectivity and dllist enhancments |