Re: [GENERAL] C API, PQconnectdb and options Q.

2003-09-10 Thread Stephan Szabo
On Wed, 10 Sep 2003, D. Stimits wrote: > D. Stimits wrote: > > > I'm using a Redhat version of PostgreSQL 7.2.3 with the C API. Mostly > > things work right, but I need more debug output, as I have a query that > > works fine from psql, but fails with the C API (perhaps this is because > > I use P

Re: [GENERAL] C API, PQconnectdb and options Q.

2003-09-10 Thread D. Stimits
D. Stimits wrote: I'm using a Redhat version of PostgreSQL 7.2.3 with the C API. Mostly things work right, but I need more debug output, as I have a query that works fine from psql, but fails with the C API (perhaps this is because I use PQescapeString). The only way to know there is an error is t

[GENERAL] C API

2001-08-28 Thread Stephan Bergmann
Hi List! I'm using the libpq C library and I'm looking for a C function, that returns me the version (e.g. 7.1.3) of the backend server I'm conected to! Some's any idea? Thanx and greetings Steve ---(end of broadcast)--- TIP 4: Don't 'kill -9' t

[GENERAL] C++ API for Postgres

2000-01-05 Thread Jeff Davis
I just started using postgres. I have been using it mostly with PHP. I would like to use C++ to access the database, but I couldn't find any example c++ connection files. Do you have to link the file to a library? do you just include header files? which ones? Also, is there any good documentatio

[GENERAL] C API comparison..

1999-07-13 Thread Chris Walmsley
Can someone offer any insight on how the libpq interface compares with Oracle? I expect that the embedded SQL in Postgres is reasonably portable to Oracle (assuming a common SQL subset is used), but I'm interested on how similar the basic C APIs are? Thanks Chris -- Chris Walmsley (Develop