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

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Дата
Msg-id CADK3HHL10T1F1v3wyqeVWMes5i=PNuyF_4bMX20Z5c8DgTyORg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Ответы Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Список 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.vladimir@gmail.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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "
Следующее
От: Christopher BROWN
Дата:
Сообщение: Re: JDBC-94: "Multiple resultsets were returned by query" in query end with "; "