Re: Use of copydir vs. cp

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)surnet(dot)cl>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Use of copydir vs. cp
Date: 2005-07-04 17:01:40
Message-ID: 200507041701.j64H1eP21445@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:
> On Mon, Jul 04, 2005 at 12:45:47PM -0400, 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?
>
> I agree. In fact, I didn't understand it back then when you opposed the
> idea of doing that.

At the time, we were trying to get Win32 in with as little code change
as possible. At this point, with everything working, it is time to
complete this item.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2005-07-04 17:21:17 Re: [HACKERS] Dbsize backend integration
Previous Message Alvaro Herrera 2005-07-04 16:58:58 Re: New warnings in plgsql/src/scan.l