diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-08-17 10:50:13 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-08-17 10:50:13 +0300 |
commit | 3941eb6341d8274dd63a26972042da6632533f2b (patch) | |
tree | f92a8a4663e42ac5775b89fb4b3f5aea2c17a980 /contrib/postgres_fdw | |
parent | d7ec8337f9093b097f08f94e5ecec36303ad73fd (diff) | |
download | postgresql-3941eb6341d8274dd63a26972042da6632533f2b.tar.gz postgresql-3941eb6341d8274dd63a26972042da6632533f2b.zip |
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.
Diffstat (limited to 'contrib/postgres_fdw')
-rw-r--r-- | contrib/postgres_fdw/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/postgres_fdw/connection.c b/contrib/postgres_fdw/connection.c index 52d1fe35631..08daf26fdf0 100644 --- a/contrib/postgres_fdw/connection.c +++ b/contrib/postgres_fdw/connection.c @@ -22,6 +22,7 @@ #include "postgres_fdw.h" #include "storage/fd.h" #include "storage/latch.h" +#include "utils/datetime.h" #include "utils/hsearch.h" #include "utils/inval.h" #include "utils/memutils.h" |