From: | Bob Ippolito <bob(at)redivi(dot)com> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | jonah(dot)harris(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org, mark(at)mark(dot)mielke(dot)cc, nathan wagner <nw(at)hydaspes(dot)if(dot)org> |
Subject: | Re: uuid type for postgres |
Date: | 2005-09-07 01:15:21 |
Message-ID: | E2E7828D-8F3B-457D-9E62-5CC92FB4E2B1@redivi.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-sql |
On Sep 6, 2005, at 6:02 PM, Josh Berkus wrote:
> Bob, People,
>
> Let me clarify my stance here, because it seems to be getting
> misrepresented.
>
> Mark (and Nathan) pushed at repaired UUID type for possible
> inclusion in
> the core PostgreSQL distribution. I'm not opposed to that,
> provided that
> the portability, licensing, and bugs are worked out. Why not? We
> have
> ipv6 data types, after all.
>
> However, Mark went on to suggest that we should recommend UUID over
> SERIAL
> in the docs, and that we could consider dropping SERIAL entirely in
> favor
> of UUID:
>
> ---quoth Mark------------------
> I suggest that UUID be recommended in place of SERIAL for certain
> classes of applications, and that it therefore belongs in the core.
> UUID and SERIAL can be used together (although, once you have a
> UUID, it may not be useful to also have a SERIAL).
> ---------------------------------
>
> This was what I objected to; I believe that the use-case for UUIDs is
> actually quite narrow and assert that it's a very bad idea to
> promote them
> to most users.
I agree with you (Josh) completely, which is why I said:
"If the documentation gives the user a good idea of when to use UUID
and when not, I think it would be a good addition."
.. the fact that the use-cases are narrow was implicit :)
Everything else I talked about was just implementation details.
Summary: there are (several) UUID implementations out there that are
appropriately licensed and easy enough to use, and a lot of OSes ship
with pretty good implementations already. Creating a decent UUID
type should be relatively trivial, as far as those things go.
-bob
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2005-09-07 01:40:27 | Re: uuid type for postgres |
Previous Message | mark | 2005-09-07 01:11:35 | Re: uuid type for postgres |
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2005-09-07 01:40:27 | Re: uuid type for postgres |
Previous Message | mark | 2005-09-07 01:11:35 | Re: uuid type for postgres |