Re: Faster install-sh in C

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Neil Conway <neilc(at)samurai(dot)com>, Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Faster install-sh in C
Date: 2005-03-23 20:29:28
Message-ID: 14082.1111609768@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> OK, what is 'install' doing for us that 'cp' and 'chmod' would not
> already do?

Quite a lot of things, such as coping with busy target files --- not too
important for headers, but very important for executables and shlibs.

We might be able to get away with this for just the headers, though,
and that's certainly the bulk of the install work now.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Manuel Baena García 2005-03-23 21:23:30 Re: contrib dbf2sql.pl
Previous Message Bruce Momjian 2005-03-23 20:23:15 Re: Faster install-sh in C