| From: | Michiel Lange <michiel(at)minas(dot)demon(dot)nl> |
|---|---|
| To: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | "translate" libpq++ to libpqxx |
| Date: | 2003-04-07 21:40:05 |
| Message-ID: | 5.1.0.14.0.20030407233522.00b380a8@192.168.1.3 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | P.N.Guru Prasad | 2003-04-08 08:04:16 | Memory leak!! |
| Previous Message | Greg Stark | 2003-04-07 20:08:04 | Re: [INTERFACES] More protocol discussion: breaking down query processing |