Re: [HACKERS] Shared libs with version numbers. - Mailing list pgsql-hackers

From Tom Ivar Helbekkmo
Subject Re: [HACKERS] Shared libs with version numbers.
Date
Msg-id 86ra2frc2x.fsf@barsoom.Hamartun.Priv.NO
Whole thread Raw
In response to Shared libs with version numbers.  (darrenk@insightdist.com (Darren King))
List pgsql-hackers
darrenk@insightdist.com (Darren King) writes:

> Is there any purpose to the version numbers that some ports append
> to a shared lib name, besides keeping different versions around?

Well, no.  That _is_ the point.  Sort of.  Version numbers make it
possible to have different generations of shared libraries installed,
and have different binaries use different ones.  You can then install
a new version of the library -- and nothing will use it.  Once you
recompile some binary, though, it will henceforth dynamically link
against the new one, i.e. the one that it was built for.  This is, of
course, important because it allows the interface to change when the
version changes, without forcing you to recompile _everything_.

-tih
--
Popularity is the hallmark of mediocrity.  --Niles Crane, "Frasier"

pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [HACKERS] s_lock.h patch
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] drop table inside transactions