pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Luca Ferrari <fluca1978@infinito.it>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: question about AbstractJdbc2Statement
Date: Thu, 24 May 2007 10:09:56 -0400
Message-ID: <4001.1180015796@sss.pgh.pa.us> (raw)
In-Reply-To: <46557F41.601@opencloud.com>
References: <200705240824.48717.fluca1978@infinito.it>
	<46557F41.601@opencloud.com>

Oliver Jowett <oliver@opencloud.com> writes:
> Luca Ferrari wrote:
>> Can somebody explain me when multiple 
>> resultset can be returned from a query?

> stmt.execute("SELECT * FROM table1; SELECT * FROM table2");

Or stmt.execute("UPDATE foo SET ...") where foo has a couple of
ON UPDATE DO ALSO SELECT ... rules.

			regards, tom lane



view thread (4+ messages)

Message-ID: <4001.1180015796@sss.pgh.pa.us>
Permalink:  ../4001.1180015796@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4001.1180015796@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, oliver@opencloud.com, fluca1978@infinito.it
  Subject: Re: question about AbstractJdbc2Statement
  In-Reply-To: <4001.1180015796@sss.pgh.pa.us>
  References: <200705240824.48717.fluca1978@infinito.it> <46557F41.601@opencloud.com> <4001.1180015796@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