v3 protocol question

Поиск
Список
Период
Сортировка
Искать
От
Chris Smith
Тема
v3 protocol question
Дата
Msg-id
054e01c3f70e$5d35b6f0$6f00000a@KYA
Список
Дерево обсуждения
v3 protocol question "Chris Smith" <cdsmith@twu.net>
Re: v3 protocol question Tom Lane <tgl@sss.pgh.pa.us>
I'm working on batch executes now, and ran into the following interpretation
with the v3 protocol.  Does anyone know off-hand?  Can I issue a series of
multiple Parse/Execute/Bind statements without an intervening Sync?  From
reading the docs, it seems like doing so would be valid, and it would have two
effects:

1. The statements would occur in the same transaction even in autocommit mode.
2. An error somewhere will cause the remainder to be skipped.

Seems like that's exactly what we want to occur if someone submits a string
containing multiple SQL statements as one member of a batch transaction.
However, I'm unclear on whether this is really even possible or not.

-- 
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

В списке pgsql-jdbc по дате отправления
От: Guido Fiala
Дата:
От: Kris Jurka
Дата:
FAQ