From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Vick <avick@remote-print.com>
Cc: pgsql-ports@postgresql.org
Subject: Re: errcode redefinition
Date: Thu, 15 Jun 2006 17:31:28 -0400
Message-ID: <1247.1150407088@sss.pgh.pa.us> (raw)
In-Reply-To: <4491D023.7050407@remote-print.com>
References: <4491C692.9080401@remote-print.com>
<936.1150405283@sss.pgh.pa.us>
<4491D023.7050407@remote-print.com>
Andrew Vick <avick@remote-print.com> writes:
> Tom Lane wrote:
>> Why are these drivers trying to include elog.h? That's a backend-only
>> header. If the reason is that they're including postgres.h, they should
>> likely be including postgres_fe.h instead.
> That is the case. I tried switching it to postgres_fe.h, but then I
> got errors about the pg_type structure not being defined.
Where were those coming from? I'm trying to burrow down to what they're
really after that's forcing them to include headers they shouldn't be
including ...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-ports@postgresql.org
Cc: tgl@sss.pgh.pa.us, avick@remote-print.com
Subject: Re: errcode redefinition
In-Reply-To: <1247.1150407088@sss.pgh.pa.us>
References: <4491C692.9080401@remote-print.com> <936.1150405283@sss.pgh.pa.us> <4491D023.7050407@remote-print.com> <1247.1150407088@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox