Ecpg and reentrancy

Поиск
Список
Период
Сортировка
От Dann Corbit
Тема Ecpg and reentrancy
Дата
Msg-id D90A5A6C612A39408103E6ECDD77B8290FD49C@voyager.corporate.connx.com
обсуждение исходный текст
Ответы Re: Ecpg and reentrancy  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Suggestion:
Because the Ecpg project uses a global sqlca, it can be accessed by only
one thread at a time.
If (instead) we had a user supplied sqlca, it could be used by multiple
threads.
Why not have the user allocate the sqlca or pass it in as a parameter
(maybe they want an auto sqlca).
In any case: a single, global sqlca is a very bad thing. (IMO-YMMV).

Question:
Why no sqlda structure?  Every other embedded SQL I have used has the
sqlda {and it is darn useful}.


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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Request for documentation
Следующее
От: bpalmer
Дата:
Сообщение: Re: Replication