X-Original-To: pgsql-ports-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 0BB089FA5BE for ; Thu, 15 Jun 2006 18:31:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 51845-09 for ; Thu, 15 Jun 2006 18:31:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 759619FA13E for ; Thu, 15 Jun 2006 18:31:30 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k5FLVS5e001248; Thu, 15 Jun 2006 17:31:28 -0400 (EDT) To: Andrew Vick cc: pgsql-ports@postgresql.org Subject: Re: errcode redefinition 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> Comments: In-reply-to Andrew Vick message dated "Thu, 15 Jun 2006 16:24:51 -0500" Date: Thu, 15 Jun 2006 17:31:28 -0400 Message-ID: <1247.1150407088@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/9 X-Sequence-Number: 2450 Andrew Vick 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