pgsql: Make xact.h usable in frontend.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Make xact.h usable in frontend.
Дата
Msg-id E1k7Zyx-0005zh-3M@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make xact.h usable in frontend.

xact.h included utils/datetime.h, which cannot be used in the frontend
(it includes fmgr.h, which needs Datum). But xact.h only needs the
definition of TimestampTz from it, which is available directly in
datatypes/timestamp.h. Change xact.h to include that instead of
utils/datetime.h, so that it can be used in client programs.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3941eb6341d8274dd63a26972042da6632533f2b

Modified Files
--------------
contrib/pg_prewarm/autoprewarm.c  | 1 +
contrib/postgres_fdw/connection.c | 1 +
src/backend/nodes/params.c        | 1 +
src/backend/utils/time/snapmgr.c  | 2 ++
src/include/access/xact.h         | 2 +-
5 files changed, 6 insertions(+), 1 deletion(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix printing last progress report line in client programs.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix printing last progress report line in client programs.