Re: [GENERAL] Relative path specified for data_directory is not working as expected

2011-06-26 Thread Eduard-Cristian Stefan
On Fri, Jun 24, 2011 at 09:42, Rob Sargent wrote: > Can't the service script be something like >   cd d:/me/data/PostgreSQL; ./pg_ctl.exe runservice -N "pgsql" -D > "d:/me/etc/PostgreSQL" Don't know about that, the service was installed by pg_ctl. Still, if two relative paths are based on one fol

Re: [GENERAL] Relative path specified for data_directory is not working as expected

2011-06-23 Thread Rob Sargent
Eduard-Cristian Stefan wrote: I have PostgreSQL 9.0.4-1 running as a service on Windows XP Home Edition, with the command line of the service being: D:\me\usr\PostgreSQL\bin/pg_ctl.exe runservice -N "pgsql" -D "d:/me/etc/PostgreSQL" In the postgresql.conf file I have the following sett

[GENERAL] Relative path specified for data_directory is not working as expected

2011-06-23 Thread Eduard-Cristian Stefan
I have PostgreSQL 9.0.4-1 running as a service on Windows XP Home Edition, with the command line of the service being: D:\me\usr\PostgreSQL\bin/pg_ctl.exe runservice -N "pgsql" -D "d:/me/etc/PostgreSQL" In the postgresql.conf file I have the following settings: data_directory = '../../

Re: [GENERAL] Relative path specified for data_directory is not working as expected

2011-06-23 Thread Eduard-Cristian Stefan
On 2011-06-23 19:15, Reid Thompson wrote: On 06/23/2011 11:08 AM, Eduard-Cristian Stefan wrote: D:\me\usr\PostgreSQL\bin/pg_ctl.exe runservice -N "pgsql" -D "d:/me/etc/PostgreSQL" not very familiar with the windows version, but I think -D is supposed to point to the data directory which in yo

Re: [GENERAL] Relative path specified for data_directory is not working as expected

2011-06-23 Thread Reid Thompson
On 06/23/2011 11:08 AM, Eduard-Cristian Stefan wrote: D:\me\usr\PostgreSQL\bin/pg_ctl.exe runservice -N "pgsql" -D "d:/me/etc/PostgreSQL" not very familiar with the windows version, but I think -D is supposed to point to the data directory which in your later info is listed as data_direct

[GENERAL] Relative path specified for data_directory is not working as expected

2011-06-23 Thread Eduard-Cristian Stefan
I have PostgreSQL 9.0.4-1 running as a service on Windows XP Home Edition, with the command line of the service being: D:\me\usr\PostgreSQL\bin/pg_ctl.exe runservice -N "pgsql" -D "d:/me/etc/PostgreSQL" In the postgresql.conf file I have the following settings: data_directory = '../../