Re: PQnotifies() in 7.3 broken?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Fernando Nasser <fnasser(at)redhat(dot)com>, Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PQnotifies() in 7.3 broken?
Date: 2002-12-13 19:55:00
Message-ID: Pine.LNX.4.44.0212130018070.25355-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian writes:

> > No, the run-time linker only looks at the major version.
>
> Then what value is there to incrementing the minor number?

For those platforms that have an ldconfig program, the ldconfig will
update the symlinks to the shared library based on the minor version
number. So if you have installed somewhere

libpq.so.2.2
libpq.so.2.3

then ldconfig will create a symlink

libpq.so.2 -> libpq.so.2.3

because that is the newest/best version. Note that "libpq.so.2" is the
file name that the dynamic loader will actually look for.

Other platforms probably have a mechanism that comes out to the same
effect.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-12-13 19:55:33 Re: DB Tuning Notes - Where To?
Previous Message Jan Wieck 2002-12-13 19:45:43 Re: Big 7.4 items