Re: What about libpq-fe.h ? - Mailing list pgsql-general

From Tim Barnard
Subject Re: What about libpq-fe.h ?
Date
Msg-id 023601c1bb1b$7f9707c0$a519af3f@hartcomm.com
Whole thread Raw
List pgsql-general
You can find what your looking for in libpq-int.h, but it's advised that you
not include that header in your applications as it's not the official api
header (libpq-fe.h is). You risk your app breaking in future revisions (see
the comments at the top of the file). Perhaps you should consider rethinking
what you're trying to do unless you *really* need this.

Tim

----- Original Message -----
From: "Done" <Taurus2000@t-online.de>
To: <pgsql-interfaces@postgresql.org>
Sent: Saturday, February 16, 2002 3:21 PM
Subject: What about libpq-fe.h ?


> Hi !
>
> I have small problem with compiling a programm which uses
> libpq-fe.h ($Id: libpq-fe.h,v 1.80 2001/11/08 20:37:52 momjian Exp $) ...
> When i wana compile the programm i get the error
> 'sizeof appliend to an incomplete type' for statement sizeof(PGconn)
> so the question is: for the statement 'typedef struct pg_conn PGconn;'
> what about the struct pg_conn ?
> how get libpq-fe.h access to struct pg_conn ?
> and finally ... how can i fix it ?
>
> mfg,
> Antonio
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>


pgsql-general by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: [HACKERS] fmgr_info: function 20071: cache lookup failed
Next
From: Doug McNaught
Date:
Subject: Re: VERY basic