Re: PQnotifies() in 7.3 broken? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: PQnotifies() in 7.3 broken?
Date
Msg-id Pine.LNX.4.44.0212130018070.25355-100000@localhost.localdomain
Whole thread Raw
In response to Re: PQnotifies() in 7.3 broken?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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@gmx.net



pgsql-hackers by date:

Previous
From: "Mike Mascari"
Date:
Subject: Re: Big 7.4 items
Next
From: Peter Eisentraut
Date:
Subject: Re: DB Tuning Notes - Where To?