Re: [GENERAL] 6.4.2 on DEC Alpha - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] 6.4.2 on DEC Alpha
Date
Msg-id 199905271452.KAA29919@candle.pha.pa.us
Whole thread Raw
In response to 6.4.2 on DEC Alpha  (Sebestyen Zoltan <szoli@netvisor.hu>)
Responses Re: [GENERAL] 6.4.2 on DEC Alpha  (Sebestyen Zoltan <szoli@netvisor.hu>)
List pgsql-general
[Charset iso-8859-2 unsupported, filtering to ASCII...]
> I tried to compile $(subject) and run into the following problem: When
> compiling interfaces\libpq library I couldn't compile fe-connect.c:
> The compiler complained that the PQconnectdb's definition and declaration
> doesn't match! And I found out that after precompiling, at the definition
> of the function (i.e. NOT in the header!) changes, see below:
>
> That line is from the header(libpq-fe.h)
>         extern PGconn *PQconnectdb(const char *conninfo);
>
> That one from fe-connect.c:
> extern PGconn *PQconnectdb(const char *conninfo)
>
> And this line above changes to the one below after precompiling :(((:
> extern PGconn *PQconnectdb( char *conninfo)
>
> What went wrong?

I have heard this complaint before.  Are you running 6.5beta or 6.4.
I think this is fixed in 6.5beta.  What is precompiling?  I am not sure.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: James Thompson
Date:
Subject: Re: [GENERAL] ERROR: nodeRead: Bad type 0
Next
From: Sebestyen Zoltan
Date:
Subject: Re: [GENERAL] 6.4.2 on DEC Alpha