pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Lewis <mark.lewis@mir3.com>
To: Kris Jurka <books@ejurka.com>
Cc: Andrei Ilitchev <andrei.ilitchev@oracle.com>
Cc: pgsql-jdbc@postgresql.org
Cc: Marina Vatkina <Marina.Vatkina@Sun.COM>
Subject: Re: Fw: postgresql experts please help
Date: Thu, 18 Oct 2007 11:10:14 -0700
Message-ID: <1192731014.6447.87.camel@archimedes> (raw)
In-Reply-To: <Pine.BSO.4.64.0710181340270.25640@leary.csoft.net>
References: <001101c81189$2f3f52d0$4c349c0a@ca.oracle.com>
	<1192728857.6447.82.camel@archimedes>
	<Pine.BSO.4.64.0710181340270.25640@leary.csoft.net>

On Thu, 2007-10-18 at 13:41 -0400, Kris Jurka wrote:
> 
> On Thu, 18 Oct 2007, Mark Lewis wrote:
> 
> > You haven't disabled JDBC autocommit for this connection.  That means
> > that each statement gets executed in a separate transaction.
> >
> > Since currval is only valid within the scope of a single transaction,
> > and you're executing your "select currval" from a separate transaction,
> > that's why you can't see it.
> >
> 
> False.  currval maintains state across transactions:

Oops.  I knew that-- not thinking straight this morning I guess :)  I
wish mailing list archives had take-backs.



view thread (19+ messages)  latest in thread

Message-ID: <1192731014.6447.87.camel@archimedes>
Permalink:  ../1192731014.6447.87.camel@archimedes/
Also on:    postgresql.org/message-id/1192731014.6447.87.camel@archimedes

 · 

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: mark.lewis@mir3.com, books@ejurka.com, andrei.ilitchev@oracle.com, Marina.Vatkina@Sun.COM
  Subject: Re: Fw: postgresql experts please help
  In-Reply-To: <1192731014.6447.87.camel@archimedes>
  References: <001101c81189$2f3f52d0$4c349c0a@ca.oracle.com> <1192728857.6447.82.camel@archimedes> <Pine.BSO.4.64.0710181340270.25640@leary.csoft.net> <1192731014.6447.87.camel@archimedes>

* 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