RE: Todo/missing?

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Ola Sundell'" <ola(at)miranda(dot)org>, "'PostgreSQL jdbc list'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: Todo/missing?
Date: 2001-06-27 00:27:11
Message-ID: 003e01c0fe9f$e9911af0$0201a8c0@INSPIRON
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-jdbc pgsql-patches

Ola,

How are you planning on determining if the underlying data has been
changed by some other process? There is a system column called xmin
which can be used, however you will have to add it to the select.

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Ola Sundell
Sent: June 26, 2001 6:23 PM
To: 'PostgreSQL jdbc list'
Subject: Re: [JDBC] Todo/missing?

On Tue, 26 Jun 2001, Thomas O'Dowd wrote:

> On Mon, Jun 25, 2001 at 10:56:18PM -0400, Dave Cramer wrote:
> > I have to agree, we need to compile a todo list.
> >
> > Mine would include:
> >
> > 1) Comprehensive test suite. This may be available already.
> > 2) Updateable resultSet
> > 3) Improved DatabaseMetaData
>
> That looks pretty good from where I stand. I would perhaps separate
> out also, the fact that the ResultSet.insertXXX() methods also need to
be
> implemented as well as the updateXXX methods. I guess this comes under
> the updateable resultSet but it's not clear.

I've been looking at the updateable ResultSet. The best way of
implementing it, imo, is adding (as I already mentioned) a property to
Field, which tells us where the Field is coming from. Without this,
we'll
have to parse the SELECT, to see where the Field originated, and imo
this
is way too complex to be done in the updateXXX methods. Unless anyone
has
a better idea, I'll implement this.

I'm working on the updateable ResultSet as I'm writing this. Everything
is
looking fine, although this might be a major overhaul. I'm re-reading
the
jdbc-2.1 spec, and I am consuming immense amounts of Coca-Cola. We'll
see
what it leads to.

Ola

--
Ola Sundell
ola(at)miranda(dot)org - olas(at)wiw(dot)org - ola(dot)sundell(at)upright(dot)se
http://miranda.org/~ola

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Barry Lind 2001-06-27 01:21:50 Re: Todo/missing? (was Re: [ADMIN] High memory usage [PATCH])
Previous Message Jie Liang 2001-06-26 22:23:52 how to limit user to open another session

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-06-27 01:21:50 Re: Todo/missing? (was Re: [ADMIN] High memory usage [PATCH])
Previous Message Ola Sundell 2001-06-26 22:23:02 Re: Todo/missing?

Browse pgsql-patches by date

  From Date Subject
Next Message Barry Lind 2001-06-27 01:21:50 Re: Todo/missing? (was Re: [ADMIN] High memory usage [PATCH])
Previous Message Ola Sundell 2001-06-26 22:23:02 Re: Todo/missing?