pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Wall <d.wall@computer.org>
To: pgsql-interfaces@postgresql.org
Subject: ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query
Date: Sat, 21 Apr 2001 16:15:46 -0700
Message-ID: <000e01c0cab8$fec39e40$5a2b7ad8@expertrade.com> (raw)

I am getting this error reported back from JDBC.  I'm not sure if this is
from JDBC, or from the Postgresql 7.1.

Message:   ERROR:  SET TRANSACTION ISOLATION LEVEL must be called before any
query
SQLState:  null
ErrorCode: 0


It seems to occur if run two simultaneous "mass delete" operations.  It
appears as though the database connection goes away, since my code then
attempts to reconnect and I get repeated sql exceptions:

Message:   No results were returned by the query.
SQLState:  null
ErrorCode: 0

I have to restart the programs to get them oprational again.

Thanks,
David




view thread (2+ messages)  latest in thread

Message-ID: <000e01c0cab8$fec39e40$5a2b7ad8@expertrade.com>
Permalink:  ../000e01c0cab8$fec39e40$5a2b7ad8@expertrade.com/
Also on:    postgresql.org/message-id/000e01c0cab8$fec39e40$5a2b7ad8@expertrade.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: d.wall@computer.org
  Subject: Re: ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query
  In-Reply-To: <000e01c0cab8$fec39e40$5a2b7ad8@expertrade.com>

* 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