Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] DBD-Pg-0.73 make failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Igor Sysoev" <igor(at)nitek(dot)ru>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] DBD-Pg-0.73 make failed
Date: 1999-03-11 15:21:15
Message-ID: 20809.921165675@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfaces
"Igor Sysoev" <igor(at)nitek(dot)ru> writes:
> While trying to make DBD-Pg-0.73 I found such error:
> dbdimp.c:146: dereferencing pointer to incomplete type

> I think that cc doesn't like pointers like
> "imp_dbh->conn->status", "imp_dbh->conn->Pfout" and so.

Is there a newer version of DBD-Pg?  That one evidently doesn't work
with Postgres 6.4.

The incomplete-type messages appear because the contents of the conn
struct are no longer visible to calling applications.  You could
work around that by including <libpq-int.h>; but if the thing is
trying to touch field Pfout then it's going to lose anyway, because
that field no longer exists (libpq doesn't use a stdio file to contact
the backend anymore).

I had the idea that someone had updated DBD-Pg for 6.4, but I don't
know for sure.

			regards, tom lane

pgsql-interfaces by date

Next:From: Ken WillsDate: 1999-03-11 16:05:29
Subject: RE: [INTERFACES] DBD-Pg-0.73 make failed
Previous:From: Tom LaneDate: 1999-03-11 15:14:10
Subject: Re: [INTERFACES] threads and libpq

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group