Re: Use of copydir vs. cp - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Use of copydir vs. cp
Date
Msg-id 200507041651.j64GpVK19724@candle.pha.pa.us
Whole thread Raw
In response to Use of copydir vs. cp  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> Right now, we use 'cp' in unix, and a copydir() function on Win32. 
> Shouldn't we be using copydir() on all platforms so we can report errors
> more easily?

Oops, I see Win32 CopyFile() in copydir.c.  Seems copydir() would need
some modifications to work on Unix.  I added it to the TODO list.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Use of copydir vs. cp
Next
From: Peter Eisentraut
Date:
Subject: Re: New warnings in plgsql/src/scan.l