Re: [BUGS] Specifying xlog directory during initdb is failing

2008-06-01 Thread Devrim GÜNDÜZ
Hi, On Mon, 2008-06-02 at 08:21 +0300, Devrim GÜNDÜZ wrote: > > Don't you think the error message will be sufficient? > > I would not even try using non-absolute directory if it was specified > in the docs ;) BTW: We do allow non-absolute directory names for $PGDATA, but don't allow for xlogs -

Re: [BUGS] Specifying xlog directory during initdb is failing

2008-06-01 Thread Devrim GÜNDÜZ
Hi, On Sun, 2008-06-01 at 22:27 -0400, Tom Lane wrote: > I think the simplest solution is to reject non-absolute path for -X; > is there any real use-case for allowing it? I don't think so. Thanks for the patch -- could you please update docs (and man page) as well? There are no words regarding

Re: [BUGS] Specifying xlog directory during initdb is failing

2008-06-01 Thread Devrim GÜNDÜZ
Hi, On Mon, 2008-06-02 at 01:16 -0400, Tom Lane wrote: > > Thanks for the patch -- could you please update docs (and man page) > as > > well? There are no words regarding using absolute path there, > AFAICS. > > Don't you think the error message will be sufficient? I would not even try using non

Re: [BUGS] Specifying xlog directory during initdb is failing

2008-06-01 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <[EMAIL PROTECTED]> writes: > On Sun, 2008-06-01 at 22:27 -0400, Tom Lane wrote: >> I think the simplest solution is to reject non-absolute path for -X; >> is there any real use-case for allowing it? > I don't think so. > Thanks for the patch -- could you please

Re: [BUGS] Specifying xlog directory during initdb is failing

2008-06-01 Thread Andrew Sullivan
On Sun, Jun 01, 2008 at 10:27:25PM -0400, Tom Lane wrote: > mode is pretty opaque :-(. I think the simplest solution is to reject > non-absolute path for -X; is there any real use-case for allowing it? No. A -- Andrew Sullivan [EMAIL PROTECTED] +1 503 667 4564 x104 http://www.commandprompt.com

Re: [BUGS] Specifying xlog directory during initdb is failing

2008-06-01 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <[EMAIL PROTECTED]> writes: > I was testing -X option, and I cannot make it work. This is PostgreSQL > 8.3.1 on Fedora 9: > -bash-3.2$ initdb -d -X xlog/ -D data/ The root of the problem is that you can't use a relative path for -X: it's not clear whether the pa

[BUGS] Specifying xlog directory during initdb is failing

2008-06-01 Thread Devrim GÜNDÜZ
Hi, I was testing -X option, and I cannot make it work. This is PostgreSQL 8.3.1 on Fedora 9: == -bash-3.2$ initdb -d -X xlog/ -D data/ Running in debug mode. VERSION=8.3.1 PGDATA=data share_path=/usr/share/pgsql PGPATH=/usr/bin POSTGRES_SUP

Re: [BUGS] BUG #4218: PGOPTIONS not documented for psql

2008-06-01 Thread Tom Lane
"Netzach" <[EMAIL PROTECTED]> writes: > The psql man page and HTML documentation make no mention of the PGOPTIONS > environment variable. It is only documented with regard to the 'postgres' > command. Hm? The psql man page's Environment section says This utility, like most other PostgreS

[BUGS] BUG #4218: PGOPTIONS not documented for psql

2008-06-01 Thread Netzach
The following bug has been logged online: Bug reference: 4218 Logged by: Netzach Email address: [EMAIL PROTECTED] PostgreSQL version: <=8.3 Operating system: Documentation Description:PGOPTIONS not documented for psql Details: The psql man page and HTML documentatio