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

From Alvaro Herrera
Subject Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD
Date
Msg-id 20140527143853.GF7857@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> "David E. Wheeler" <david@justatheory.com> writes:
> > On May 26, 2014, at 9:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >>> How about --with-unix-uuid? Or --with-ext2-uuid?
> 
> >> Meh.  "Unix" certainly subsumes BSD, so that doesn't seem like a very
> >> useful distinction.  I guess we could use "ext2" but that would just
> >> confuse most people.
> 
> > --with-uuid?
> 
> I thought about that but figured we'd regret it ...

Why not --with-uuid-implementation=<impl>, and have <impl> be one of
e2utils, bsd, ossp, with the latter being default?  We could also have
offer the value "list" or "help" which would list the available options.
That way, if we come up with a new implementation in the future, this is
easily extensible.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: IMPORT FOREIGN SCHEMA statement
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD