Re: ecpg problem in 7.4 beta

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ecpg problem in 7.4 beta
Дата
Msg-id 14915.1060264281@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ecpg problem in 7.4 beta  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: ecpg problem in 7.4 beta  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-interfaces
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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ecpg problem in 7.4 beta
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: ecpg problem in 7.4 beta