pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: PostgreSQL-interfaces <pgsql-interfaces@postgresql.org>
Cc: Peter Eisentraut <peter_e@gmx.net>
Subject: Re: ecpg problem in 7.4 beta
Date: Thu, 07 Aug 2003 09:51:21 -0400
Message-ID: <14915.1060264281@sss.pgh.pa.us> (raw)
In-Reply-To: <200308070443.h774hW211357@candle.pha.pa.us>
References: <200308070443.h774hW211357@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, I think I can fix this.  The include of postgres_fe.h was done
> recently:
	
> 	revision 1.54
> 	date: 2003/08/01 13:53:36;  author: petere;  state: Exp;  lines: +4 -2
> 	Make ecpg SQLSTATE-aware.  Map existing SQLCODE assignments to SQLSTATEs,
> 	rather than parsing the message.  Add some documentation about embedded
> 	SQL.

> It seems like doing postgres_fe.h rather than postgres_ext.h was just an
> oversight, so I will make the change in CVS.

I think you will break things if you do.  It's unlikely Peter changed
that on a whim --- ecpg probably now requires more than it did before.

I am not sure that we want to start treating postgres_fe.h as a public
header though --- if we do, that means also c.h and perhaps other stuff.
This needs some thought.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <14915.1060264281@sss.pgh.pa.us>
Permalink:  ../14915.1060264281@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14915.1060264281@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, peter_e@gmx.net
  Subject: Re: ecpg problem in 7.4 beta
  In-Reply-To: <14915.1060264281@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