Re: pg_conn not declared in libpq-fe.h?

From: Hauke Joachim Zuehl <hzuehl(at)athene(dot)dnsalias(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_conn not declared in libpq-fe.h?
Date: 2003-07-23 10:19:20
Message-ID: 1058955560.1138.5.camel@fafnir.meding-zuehl.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi :)

Am Mit, 2003-07-23 um 06.21 schrieb Tom Lane:
> Hauke Joachim Zuehl <hzuehl(at)athene(dot)dnsalias(dot)org> writes:
> > I want to compile a program which uses libpq-fe.h but it seems that
> > structure pg_conn ist not declared.
>
> The typedef is named PGconn.

Well, that's clear but there is another problem:
hauke(at)fafnir [pgsql] >>grep -H "typedef.*PGconn" *.h
libpq-fe.h:typedef struct pg_conn PGconn;
hauke(at)fafnir [pgsql] >>grep -H "pg_conn" *.h
libpq-fe.h:typedef struct pg_conn PGconn;
hauke(at)fafnir [pgsql] >>

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

hauke(at)fafnir [pgsql] >>find . -name "*.h" -exec grep -H pg_conn {} \;
./libpq-fe.h:typedef struct pg_conn PGconn;
./internal/libpq-int.h:struct pg_conn
hauke(at)fafnir [pgsql] >>

But I read I do not need lipq-int.h anymore.

>
> regards, tom lane

Kind regards,
Hauke
--
Aus Ben Hur (1959): Wer nicht fuer Rom ist, ist gegen Rom
George W. Bush (2002): Wer nicht fuer uns ist, ist gegen uns

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-23 10:42:36 Re: [PATCHES] Czech NLS
Previous Message Peter Eisentraut 2003-07-23 10:12:45 Re: