PQprepare in PostgreSQL 7.4 (lack of SAVEPOINTs)

Поиск
Список
Период
Сортировка
От Konstantin Izmailov
Тема PQprepare in PostgreSQL 7.4 (lack of SAVEPOINTs)
Дата
Msg-id AANLkTikRplDtA-WS1VCoKkFBXiQEbPvOZhkNskv5WVWE@mail.gmail.com
обсуждение исходный текст
Ответы Re: PQprepare in PostgreSQL 7.4 (lack of SAVEPOINTs)  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Is there a way to prevent transaction abort when preparing command in version 7.4?
 
I googled but haven't been able to find the answer. The issue occurs when our software trys to prepare a command that is already prepared (by the same or different app). PQprepare returns error and aborts current transaction. The company is not willing to upgrade from 7.4 to a later version due to risk.
 
SAVEPOINTs are not available in v.7.4. I'm looking at PQdescribePrepared function. What is the right solution?
 
Thank you
Konstantin

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

Предыдущее
От: Kenichiro Tanaka
Дата:
Сообщение: Re: SQL error: could not connect to database
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: PQprepare in PostgreSQL 7.4 (lack of SAVEPOINTs)