"translate" libpq++ to libpqxx

Поиск
Список
Период
Сортировка
От Michiel Lange
Тема "translate" libpq++ to libpqxx
Дата
Msg-id 5.1.0.14.0.20030407233522.00b380a8@192.168.1.3
обсуждение исходный текст
Ответы Re: 'translate' libpq++ to libpqxx
Список pgsql-interfaces
Hello everyone,

lately I bought a boot that looked real great, and in many aspects it is. 
Only they use the libpq++ interface in their examples, and it appears that 
libpq++ is terribly broken (I cannot compile <beep> with it) so, I was 
wondering if there is a way to "translate" the libpq++ examples they wrote 
to libpqxx

I found out that instead of #include <libpq++.h> I had to do #include 
<pqxx/all.h> (at least I would have enough functionality then)

But the class 'PgConnection' seems to exist no more, and I hoped there 
would be an easy way to replace all occurrences of a function with another 
(it would have been even better if the syntaxes would be comparable, but 
that might have been not a good idea...)

Tia,
Michiel



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: More protocol discussion: breaking down query processing
Следующее
От: Adam Witney
Дата:
Сообщение: Re: Release of DBD-pg 1.22