]> granicus.if.org Git - postgresql/commit
Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 May 2014 23:42:08 +0000 (19:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 May 2014 23:42:08 +0000 (19:42 -0400)
commitb8cc8f94730610c0189aa82dfec4ae6ce9b13e34
treeaf8422da1b3a204d63aa847a17458e16d4e0c49d
parent616afee14d7e8d6690286aaf8a2a0a01168c378a
Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library.

Allow the contrib/uuid-ossp extension to be built atop any one of these
three popular UUID libraries.  (The extension's name is now arguably a
misnomer, but we'll keep it the same so as not to cause unnecessary
compatibility issues for users.)

We would not normally consider a change like this post-beta1, but the issue
has been forced by our upgrade to autoconf 2.69, whose more rigorous header
checks are causing OSSP's header files to be rejected on some platforms.
It's been foreseen for some time that we'd have to move away from depending
on OSSP UUID due to lack of upstream maintenance, so this is a down payment
on that problem.

While at it, add some simple regression tests, in hopes of catching any
major incompatibilities between the three implementations.

Matteo Beccati, with some further hacking by me
12 files changed:
configure
configure.in
contrib/Makefile
contrib/uuid-ossp/.gitignore [new file with mode: 0644]
contrib/uuid-ossp/Makefile
contrib/uuid-ossp/expected/uuid_ossp.out [new file with mode: 0644]
contrib/uuid-ossp/sql/uuid_ossp.sql [new file with mode: 0644]
contrib/uuid-ossp/uuid-ossp.c
doc/src/sgml/installation.sgml
doc/src/sgml/uuid-ossp.sgml
src/Makefile.global.in
src/include/pg_config.h.in