From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | ISHIDA Akio <iakio(at)mono-space(dot)net>, pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: BUG #3439: pg_standby and path name with space |
Date: | 2007-07-16 08:41:14 |
Message-ID: | 20070716084114.GD26466@svr2.hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-patches |
On Fri, Jul 13, 2007 at 10:50:16AM +0200, Magnus Hagander wrote:
> On Fri, Jul 13, 2007 at 09:29:59AM +0100, Simon Riggs wrote:
> > On Thu, 2007-07-12 at 19:36 +0000, ISHIDA Akio wrote:
> > > The following bug has been logged online:
> > >
> > > Bug reference: 3439
> > > Operating system: Windows XP
> > > Description: pg_standby and path name with space
> > > Details:
> > >
> > > pg_standby failed if path name containing spaces.
> > >
> > > C:\Documents and Settings\ishida\pgsql>pg_standby -d "C:\Documents and
> > > Settings\ ishida\pgsql\archive_dir" 000000010000000000000000 data\pg_xlog
> > >
> > > Trigger file : <not set>
> > > Waiting for WAL file : C:\Documents and
> > > Settings\ishida\pgsql\archive_dir\000000010000000000000000
> > > WAL file path : 000000010000000000000000
> > > Restoring to... : data\pg_xlog
> > > Sleep interval : 5 seconds
> > > Max wait interval : 0 forever
> > > Command for restore : copy C:\Documents and
> > > Settings\ishida\pgsql\archive_dir\000000010000000000000000 data\pg_xlog
> > > Num archived files kept : all files
> > > running restore :The system cannot find the file specified.
> > > The system cannot find the file specified.
> > > The system cannot find the file specified.
> > > not restored :
> >
> > Magnus,
> >
> > Looks to me like the following patch would fix the reported issue on
> > Windows:
>
> Is this actually a Windows issue? Doesn't the same problem show up on Unix
> if you have a space in the path? (It's a lot more common on Windows, but
> it'spossible on Unix as well).
>
> It does seem that the fix should work on Unix as well though, but just to
> we label the thing correctly.
My own very trivial checks shows it should, so I've applied this patch.
Thanks!
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Bowlby | 2007-07-17 00:51:40 | BUG #3450: Multiple Stored procedure calls cause issue with temp tables... |
Previous Message | Devinder Singh | 2007-07-13 08:56:53 | Re: BUG #3439: pg_standby and path name with space |
From | Date | Subject | |
---|---|---|---|
Next Message | NikhilS | 2007-07-16 08:58:32 | Re: CREATE TABLE LIKE INCLUDING INDEXES support |
Previous Message | Neil Conway | 2007-07-16 07:46:39 | Re: CREATE TABLE LIKE INCLUDING INDEXES support |