pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: byavuz81@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17358: While using --with-uuid=bsd option, uuid_ossp test fails on NetBSD 9.2
Date: Sat, 08 Jan 2022 14:59:56 -0500
Message-ID: <1581508.1641671996@sss.pgh.pa.us> (raw)
In-Reply-To: <20220108194454.kl477tb6km6tyj5r@alap3.anarazel.de>
References: <17358-89806e7420797025@postgresql.org>
	<1377833.1641588532@sss.pgh.pa.us>
	<20220108194454.kl477tb6km6tyj5r@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2022-01-07 15:48:52 -0500, Tom Lane wrote:
>> Not sure about how to fix this nicely.  We've tried to avoid
>> writing our own code for V1 UUIDs, but maybe we should just
>> bite the bullet and do that?

> It might be the most reasonable approach. We certainly seem to have spent at
> least as much effort avoiding our own implementation than implementing it
> ourselves.

Yeah, exactly :-(.  Other than finding a MAC address, it doesn't seem
like there's much there, and we've spent an awful lot of work on
supporting N different libraries for this.

> We could grab it from ossp-uuid or e2fs - both seem to be compatibly licensed?

Right, I was planning to have a look at how they'd done it.  The BSD
implementation seems to be inside the kernel, so that's not likely
to be helpful, but the other two must be in userspace.

			regards, tom lane





view thread (13+ messages)  latest in thread

Message-ID: <1581508.1641671996@sss.pgh.pa.us>
Permalink:  ../1581508.1641671996@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1581508.1641671996@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, byavuz81@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17358: While using --with-uuid=bsd option, uuid_ossp test fails on NetBSD 9.2
  In-Reply-To: <1581508.1641671996@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox