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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD
Дата
Msg-id 20140527143853.GF7857@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: IMPORT FOREIGN SCHEMA statement
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD