pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kris Jurka <books@ejurka.com>
Cc: Andrew <archa@pacific.net.au>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: UUID datatype
Date: Sat, 16 Feb 2008 11:08:22 -0500
Message-ID: <19953.1203178102@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSO.4.64.0802161048420.25216@leary.csoft.net>
References: <47B6E776.9030608@pacific.net.au>
	<Pine.BSO.4.64.0802161048420.25216@leary.csoft.net>

Kris Jurka <books@ejurka.com> writes:
> There aren't any exact plans, but I was thinking we would map the pg uuid 
> type onto the java.util.UUID type.  The only problem with that 
> is java.util.UUID only appeared in the 1.5 JDK, so we'd only be 
> able to support it for some driver versions.  Do people think it's better 
> to always map it to a PGuuid class?

Given that UUID is only in the latest PG version, it doesn't seem
unreasonable to support it only in newer JDKs too.  Five years down
the road, not having mapped it to java.util.UUID will definitely
seem to have been a mistake, no?

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <19953.1203178102@sss.pgh.pa.us>
Permalink:  ../19953.1203178102@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19953.1203178102@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, books@ejurka.com, archa@pacific.net.au
  Subject: Re: UUID datatype
  In-Reply-To: <19953.1203178102@sss.pgh.pa.us>
  References: <47B6E776.9030608@pacific.net.au> <Pine.BSO.4.64.0802161048420.25216@leary.csoft.net> <19953.1203178102@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