PQresultStatus for a transaction

Поиск
Список
Период
Сортировка
От Martin Atukunda
Тема PQresultStatus for a transaction
Дата
Msg-id 200507131505.29695.matlads@myrealbox.com
обсуждение исходный текст
Список pgsql-novice
in my c code I have a call like the following:

rs = PQexec(conn, "BEGIN; UPDATE userinfo set batchno=0; UPDATE
adschedule_items set batchno=0;COMMIT;");


the question is this: when checking for failure of the above transaction, how
do I check if the above transaction failed? do i use PGRES_COMMAND_OK?

- Martin -

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