From: Vitalii Tymchyshyn <tivv00@gmail.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem with executeBatch and "A result was returned when none was expected"
Date: Wed, 16 Mar 2011 13:04:28 +0200
Message-ID: <4D80993C.6030203@gmail.com> (raw)
In-Reply-To: <AANLkTinF5dMpYaeGz4EVJvMWdE4tCJo6FacbDBHaF6aK@mail.gmail.com>
References: <AANLkTikZ5WAOHHc-wBx_ziVYvPs787dOxGziLZfT8ssw@mail.gmail.com>
<C9A5EA27.501B%pico303@gmail.com>
<AANLkTikCgRgtG5yS2vAJ7Z0WiRv=e6mK9TrSFVFG_TPr@mail.gmail.com>
<4D80946E.3060200@gmail.com>
<AANLkTinF5dMpYaeGz4EVJvMWdE4tCJo6FacbDBHaF6aK@mail.gmail.com>
16.03.11 12:57, Dave Cramer написав(ла):
> On Wed, Mar 16, 2011 at 6:43 AM, Vitalii Tymchyshyn<tivv00@gmail.com> wrote:
>> 16.03.11 12:40, Dave Cramer написав(ла):
>>
>> AFAIR it was a long discussion on what is "generated". E.g. is calculated
>> default value (CURRENT TIMESTAMP) generated? Constant default value? So, the
>> driver now either returns all or you can pass columns you require by
>> yourself with "boolean execute(String sql, String[] columnNames)".
>>
> So ideally we need some backend support here. The backend can
> certainly figure out what was the result of a default column.
The question AFAIK is not technical, there's simply no strict definition
of "generated". And no public consensus on it.
Best regards, Vitalii Tymchyshyn
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: tivv00@gmail.com, pg@fastcrypt.com
Subject: Re: Problem with executeBatch and "A result was returned when none was expected"
In-Reply-To: <4D80993C.6030203@gmail.com>
References: <AANLkTikZ5WAOHHc-wBx_ziVYvPs787dOxGziLZfT8ssw@mail.gmail.com> <C9A5EA27.501B%pico303@gmail.com> <AANLkTikCgRgtG5yS2vAJ7Z0WiRv=e6mK9TrSFVFG_TPr@mail.gmail.com> <4D80946E.3060200@gmail.com> <AANLkTinF5dMpYaeGz4EVJvMWdE4tCJo6FacbDBHaF6aK@mail.gmail.com> <4D80993C.6030203@gmail.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