Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, Dang Minh Huong <kakalot49(at)gmail(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Date: 2015-10-07 12:34:19
Message-ID: CADK3HHL10T1F1v3wyqeVWMes5i=PNuyF_4bMX20Z5c8DgTyORg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

This is a very good question, but lots of people cut and paste SQL into
code ... sometimes the ; gets in there.

Behaviour of previous version is important, but in this case It may not be
justified.

Anyone else have an opinion ?

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 7 October 2015 at 08:30, Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
wrote:

> I wonder why pgjdbc would want to silently ignore that user error?
> Is "behavior of previous version" a sole justification?
>
> I've drafted https://github.com/pgjdbc/pgjdbc/pull/386 to cover that.
>
> Vladimir
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Christopher BROWN 2015-10-07 12:42:33 Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Previous Message Vladimir Sitnikov 2015-10-07 12:30:57 Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "