Hauke Joachim Zuehl <[EMAIL PROTECTED]> writes:
> Well, that's clear but there is another problem:
> [EMAIL PROTECTED] [pgsql] >>grep -H "typedef.*PGconn" *.h
> libpq-fe.h:typedef struct pg_conn PGconn;
> [EMAIL PROTECTED] [pgsql] >>grep -H "pg_conn" *.h
> libpq-fe.h:typedef struct pg_conn PGconn;
> [EMAIL PROTECTED] [pgsql] >>

> So I miss the structure pg_conn :(
> Maybe I have to include more than just libpq-fe.h?

You're right, the contents of the structure are not exported by the
library.  Your code should only use pointers to the struct, so it ought
not care what is in the struct.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to