| From: | "D(dot) Stimits" <stimits(at)comcast(dot)net> |
|---|---|
| To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | C API, PQconnectdb and options Q. |
| Date: | 2003-09-10 16:40:09 |
| Message-ID: | 3F5F53E9.3070704@comcast.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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 that
the insert never happens, and that the system log reports a parse error
at or near the first field of an insert. What I am wonder is (a) how to
use the tty= in the string passed to PQconnectdb, and (b) a reference
URL for what options are available in the options= part of the string
parameters accepted by PQconnectdb. So far all I end up with if I try to
name a file for tty= or a tty from /dev/ for tty= is a core dump.
D. Stimits
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Guy Fraser | 2003-09-10 16:41:16 | Re: The ..... worm |
| Previous Message | scott.marlowe | 2003-09-10 16:40:07 | Re: Picture with Postgres and Delphi |