Re: Multiple semicolon separated statements and autocommit

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Multiple semicolon separated statements and autocommit
Дата
Msg-id m3itf5vwnl.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Re: Multiple semicolon separated statements and autocommit  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: Multiple semicolon separated statements and autocommit  (Rene Pijlman <rene@lab.applinet.nl>)
Список pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:

> Are you sure?  I thought all that autocommit meant was that a statement that
> is not enclosed within a begin/commit is automatically committed after it is
> run.  So, in the this case all three queries will be independent, unless the
> first statements is a 'begin;' and the last is a 'commit;'...

What does the JDBC spec say about autocommit and ExecuteBatch()?

-Doug
-- 
Free Dmitry Sklyarov! 
http://www.freesklyarov.org/ 

We will return to our regularly scheduled signature shortly.


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

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: Escaping strings for inclusion into SQL queries
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Full Text Indexing