Re: [PATCHES] Faster install-sh in C

2005-06-06 Thread Alvaro Herrera
On Sat, Jun 04, 2005 at 08:42:29PM -0400, Bruce Momjian wrote: > > I am using 'cp' in current CVS for this. I assume it is as fast as the > C implementation, but if not, please let me know. Yes, your change did make the installation considerably faster so I abandoned the binary install idea. Th

Re: [PATCHES] Faster install-sh in C

2005-06-04 Thread Bruce Momjian
I am using 'cp' in current CVS for this. I assume it is as fast as the C implementation, but if not, please let me know. --- Alvaro Herrera wrote: > Patchers, > > I wrote an "install" program in C. It's supposed to replac

Re: [PATCHES] Faster install-sh in C

2005-03-25 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > Tom Lane wrote: > >> 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. > > > Here is my next version of the patch that uses 'cp' and 'chmod' to > > install multiple header fi

Re: [PATCHES] Faster install-sh in C

2005-03-25 Thread Tom Lane
Bruce Momjian writes: > Tom Lane wrote: >> 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. > Here is my next version of the patch that uses 'cp' and 'chmod' to > install multiple header files rather than 'install'. >

Re: [PATCHES] Faster install-sh in C

2005-03-25 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian 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

Re: [PATCHES] Faster install-sh in C

2005-03-23 Thread Neil Conway
Alvaro Herrera wrote: Also, keep in my that this C install program has the extra feature of being able to install multiple files on one invocation, per suggestion from Tom Lane. This allows us to save the nested for-loop in src/include/Makefile. GNU install (available on my system) also has this

Re: [PATCHES] Faster install-sh in C

2005-03-23 Thread Tom Lane
Bruce Momjian 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

Re: [PATCHES] Faster install-sh in C

2005-03-23 Thread Bruce Momjian
Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > Also, keep in my that this C install program has the extra feature of > > being able to install multiple files on one invocation, per suggestion > > from Tom Lane. This allows us to save the nested for-loop in > > src/include/Makefil

Re: [PATCHES] Faster install-sh in C

2005-03-23 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Also, keep in my that this C install program has the extra feature of > being able to install multiple files on one invocation, per suggestion > from Tom Lane. This allows us to save the nested for-loop in > src/include/Makefile. GNU install (available

Re: [PATCHES] Faster install-sh in C

2005-03-23 Thread Alvaro Herrera
On Mon, Mar 07, 2005 at 07:50:23PM +0100, Peter Eisentraut wrote: > Alvaro Herrera wrote: > > Well, apparently everyone says the system install is not portable and > > the discussion stops there. > > Well, who actually says that? I know that I was the one who actually > coded up the current avoi

Re: [PATCHES] Faster install-sh in C

2005-03-07 Thread Peter Eisentraut
Alvaro Herrera wrote: > Well, apparently everyone says the system install is not portable and > the discussion stops there. Well, who actually says that? I know that I was the one who actually coded up the current avoid-system-install-at-all-cost behavior, but only because we were too annoyed a

Re: [PATCHES] Faster install-sh in C

2005-03-06 Thread Alvaro Herrera
On Fri, Mar 04, 2005 at 11:20:07AM +0100, Peter Eisentraut wrote: > Am Freitag, 4. März 2005 01:11 schrieb Neil Conway: > > Alvaro Herrera wrote: > > > I wrote an "install" program in C. It's supposed to replace the > > > config/install-sh script, limited to the functionality we need, i.e. > > > w

Re: [PATCHES] Faster install-sh in C

2005-03-04 Thread Peter Eisentraut
Am Freitag, 4. März 2005 01:11 schrieb Neil Conway: > Alvaro Herrera wrote: > > I wrote an "install" program in C. It's supposed to replace the > > config/install-sh script, limited to the functionality we need, i.e. > > what is in Makefiles in the Pg main source tree. The main objective of > > t

Re: [PATCHES] Faster install-sh in C

2005-03-03 Thread Neil Conway
Alvaro Herrera wrote: I wrote an "install" program in C. It's supposed to replace the config/install-sh script, limited to the functionality we need, i.e. what is in Makefiles in the Pg main source tree. The main objective of this exercise is to reduce "make install" execution time; a part of tha

Re: [PATCHES] Faster install-sh in C

2004-11-28 Thread Bruce Momjian
This has been saved for the 8.1 release: http:/momjian.postgresql.org/cgi-bin/pgpatches2 --- Alvaro Herrera wrote: > Patchers, > > I wrote an "install" program in C. It's supposed to replace the > config/install-s

[PATCHES] Faster install-sh in C

2004-11-10 Thread Alvaro Herrera
Patchers, I wrote an "install" program in C. It's supposed to replace the config/install-sh script, limited to the functionality we need, i.e. what is in Makefiles in the Pg main source tree. The main objective of this exercise is to reduce "make install" execution time; a part of that is being