Re: [HACKERS] libpq.rc make rule

2008-02-26 Thread Magnus Hagander
On Tue, Feb 26, 2008 at 12:15:05AM +, Dave Page wrote: > On Mon, Feb 25, 2008 at 11:48 PM, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > > Dave Page wrote: > > > Yes, because newer builds may be linked against updated runtime > > > versions. We need to be sure the installer will upgrade the f

Re: [HACKERS] libpq.rc make rule

2008-02-25 Thread Dave Page
On Mon, Feb 25, 2008 at 11:48 PM, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > Dave Page wrote: > > Yes, because newer builds may be linked against updated runtime > > versions. We need to be sure the installer will upgrade the file so it > > definitely matches any runtimes (or other dependenci

Re: [HACKERS] libpq.rc make rule

2008-02-25 Thread Peter Eisentraut
Dave Page wrote: > Yes, because newer builds may be linked against updated runtime > versions. We need to be sure the installer will upgrade the file so it > definitely matches any runtimes (or other dependencies) that we're > also installing/upgrading. If it is so very important to update this fi

Re: [HACKERS] libpq.rc make rule

2008-02-25 Thread Dave Page
On Mon, Feb 25, 2008 at 10:03 PM, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > Dave Page wrote: > > It's used on Windows to ensure that installers can do the right thing > > when replacing a copy of libpq.dll. The daily build number was the > > most maintenance-free way of getting a fourth valu

Re: [HACKERS] libpq.rc make rule

2008-02-25 Thread Peter Eisentraut
Dave Page wrote: > It's used on Windows to ensure that installers can do the right thing > when replacing a copy of libpq.dll. The daily build number was the > most maintenance-free way of getting a fourth value for the version > resource. Isn't that what the shared library version numbers are for

Re: [HACKERS] libpq.rc make rule

2008-02-25 Thread Dave Page
On Mon, Feb 25, 2008 at 7:21 PM, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > The libpq.rc make rule says: > > # depend on Makefile.global to force rebuild on re-run of configure > $(srcdir)/libpq.rc: libpq.rc.in $(top_builddir)/src/Makefile.global > sed -e 's/\(VERSION.*\),0 *$$/\1,'`da

[HACKERS] libpq.rc make rule

2008-02-25 Thread Peter Eisentraut
The libpq.rc make rule says: # depend on Makefile.global to force rebuild on re-run of configure $(srcdir)/libpq.rc: libpq.rc.in $(top_builddir)/src/Makefile.global sed -e 's/\(VERSION.*\),0 *$$/\1,'`date '+%y%j' | sed 's/^0*//'`'/' < $< > $@ However, libpq.rc is also included in the dis