]> granicus.if.org Git - postgresql/commit
Automate the maintenance of SO_MINOR_VERSION for our shared libraries.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Aug 2016 17:58:44 +0000 (13:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Aug 2016 17:58:54 +0000 (13:58 -0400)
commita3bce17ef1ca6408e8d1e7b10fb767aef1729be6
tree3aba4e93c0aa1fb7640986a60bbea414aa0b3427
parent41fb35fabf03bffa812caddf24323d4d06f811ba
Automate the maintenance of SO_MINOR_VERSION for our shared libraries.

Up to now we've manually adjusted these numbers in several different
Makefiles at the start of each development cycle.  While that's not
much work, it's easily forgotten, so let's get rid of it by setting
the SO_MINOR_VERSION values directly from $(MAJORVERSION).

In the case of libpq, this dev cycle's value of SO_MINOR_VERSION happens
to be "10" anyway, so this switch is transparent.  For ecpg's shared
libraries, this will result in skipping one or two minor version numbers
between v9.6 and v10, which seems like no big problem; and it was a bit
inconsistent that they didn't have equal minor version numbers anyway.

Discussion: <21969.1471287988@sss.pgh.pa.us>
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/pgtypeslib/Makefile
src/interfaces/libpq/Makefile
src/tools/RELEASE_CHANGES