[PATCH] Replacement for OSSP-UUID for Linux and BSD - Mailing list pgsql-hackers

From Matteo Beccati
Subject [PATCH] Replacement for OSSP-UUID for Linux and BSD
Date
Msg-id 5381B3DE.5040302@beccati.com
Whole thread Raw
Responses Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi everyone,

here's the latest version of my uuid changes patch, according to
proposal (2) from Tom in the thread about OSSP-UUID[1].

* it works on linux and bsd (tested on ubuntu and netbsd), using their
own uuid implementations
* the configure switch is now --with-uuid
* function signatures are fully compatible with ossp-uuid
* it has some regression tests

The latest version of the patch also fixes some issues wrt RFC
compliance as I've realised the RFC itself had a wrong example[2]. The
output now matches the one from OSSP-UUID, although I couldn't verify
the behaviour on big-endian systems.

Feel free to consider it for 9.4b2 or the next commit fest.

[1] http://www.postgresql.org/message-id/9285.1400387306@sss.pgh.pa.us
[2] http://www.rfc-editor.org/errata_search.php?rfc=4122


Cheers
--
Matteo Beccati

Development & Consulting - http://www.beccati.com/

Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: pg9.4b1: unhelpful error message when creating a collation
Next
From: Hannu Krosing
Date:
Subject: Re: Priority table or Cache table