From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make xact.h usable in frontend. |
Date: | 2020-08-17 07:55:03 |
Message-ID: | E1k7Zyx-0005zh-3M@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2020-08-17 14:19:47 | pgsql: Fix printing last progress report line in client programs. |
Previous Message | Heikki Linnakangas | 2020-08-17 07:14:04 | pgsql: Fix printing last progress report line in client programs. |