Skip site navigation (1) Skip section navigation (2)

pg_autovacuum log paths can't contain spaces

From: "Barry Lind" <blind(at)xythos(dot)com>
To: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: pg_autovacuum log paths can't contain spaces
Date: 2004-09-20 23:45:52
Message-ID: 03E7D3E231BB7B4A915A6581D4296CC69798B4@NSNOVPS00411.nacio.xythos.com (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
I just installed the beta2 Dev 3 version of the installer.  When I went
to go tryout pg_autovacuum I noticed two problem:

1) -P isn't working correctly.  -P is being interpreted as -p in the
service code and it tries to use the password (-P) that I passed in as
the port (-p).  I seem to recall a previous email about this and think
this is already fixed in CVS.

2) When I specify a path that contains spaces to the -L switch it
doesn't work correctly.

For example:

Pg_autovacuum.exe -I -L "c:/Program Files/Postgresql/logs/vacuum.log" -U
postgres 

Will create a service as:

"c:\Program Files\Postgresql\bin\pg_autovacuum.exe" -U postgres -L
c:/Program Files/Postgresql/logs/vacuum.log

And I get a log file named c:/Program

I haven't seen this reported by anyone else yet.

Thanks,
--Barry

pgsql-hackers-win32 by date

Next:From: Dave PageDate: 2004-09-21 09:14:06
Subject: Re: pg_autovacuum log paths can't contain spaces
Previous:From: Bruce MomjianDate: 2004-09-20 22:35:48
Subject: Re: Performance of COPY for Archive operations

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group