Re: pgsql-server/ oc/src/sgml/libpq.sgml rc/interf ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql-server/ oc/src/sgml/libpq.sgml rc/interf ...
Дата
Msg-id 603.1061760065@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql-server/ oc/src/sgml/libpq.sgml rc/interf ...  (petere@svr1.postgresql.org (Peter Eisentraut - PostgreSQL))
Ответы Re: pgsql-server/ oc/src/sgml/libpq.sgml rc/interf ...  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-committers
petere@svr1.postgresql.org (Peter Eisentraut - PostgreSQL) writes:
> Modified files:
>     doc/src/sgml   : libpq.sgml
>     src/interfaces/ecpg/ecpglib: connect.c error.c
>     src/interfaces/libpq: libpq-fe.h

> Log message:
>     Add macros for error result fields to libpq.

libpq has several internal uses of the error-field codes that perhaps
ought to be converted to use these macros, eg, pqInternalNotice(),
pqGetErrorNotice2(), pqGetErrorNotice3().

More generally, is libpq the right place to declare these?  Shouldn't
we instead put 'em in postgres_ext.h, and teach the backend code to use
'em too?

            regards, tom lane

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

Предыдущее
От: petere@svr1.postgresql.org (Peter Eisentraut - PostgreSQL)
Дата:
Сообщение: pgsql-server/src backend/po/ru.po bin/pg_contr ...
Следующее
От: petere@svr1.postgresql.org (Peter Eisentraut - PostgreSQL)
Дата:
Сообщение: pgsql-server/src/bin/psql/po de.po