[PATCH] Replacement for OSSP-UUID for Linux and BSD

From: Matteo Beccati <php(at)beccati(dot)com>
To: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Replacement for OSSP-UUID for Linux and BSD
Date: 2014-05-25 09:11:58
Message-ID: 5381B3DE.5040302@beccati.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
uuid.patch text/plain 61.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2014-05-25 09:52:47 Re: Priority table or Cache table
Previous Message Fabien COELHO 2014-05-25 07:17:24 pg9.4b1: unhelpful error message when creating a collation