Re: Proposal for GUID datatype
| От | mark@mark.mielke.cc |
|---|---|
| Тема | Re: Proposal for GUID datatype |
| Дата | |
| Msg-id | 20060909013434.GA23425@mark.mielke.cc обсуждение исходный текст |
| Ответ на | Re: Proposal for GUID datatype (Jan de Visser <jdevisser@digitalfairway.com>) |
| Ответы |
Re: Proposal for GUID datatype
|
| Список | pgsql-hackers |
On Fri, Sep 08, 2006 at 09:24:19PM -0400, Jan de Visser wrote:
> On Friday 08 September 2006 15:18, Gevik Babakhani wrote:
> > 2a) Three input formats are supported.
> > example:
> > insert into tbl (fld) values('1dfb39af-b56a-40b8-a903-b5b31567c3ce');
> > insert into tbl (fld) values('{1dfb39af-b56a-40b8-a903-b5b31567c3ce}');
> > insert into tbl (fld) values('1dfb39afb56a40b8a903b5b31567c3ce');
> Please extend your list. java's RMI package generates UIDs with the
> following format:
> [head order 21:19]$ bsh.sh
> BeanShell 1.3.0 - by Pat Niemeyer (pat@pat.net)
> bsh % print(new java.rmi.server.UID());
> 3b732da7:10d9029b3eb:-8000
> bsh %
That doesn't look like a UUID/GUID - unless it trims leading zeroes?
UUID/GUID = 128-bits = 32 hexadecimal characters.
Cheers,
mark
--
mark@mielke.cc / markm@ncf.ca / markm@nortel.com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness
bindthem...
http://mark.mielke.cc/
В списке pgsql-hackers по дате отправления: