mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -16,11 +16,11 @@
|
||||
|
||||
#include "access/transam.h"
|
||||
#include "access/xlogreader.h"
|
||||
#include "datatype/timestamp.h"
|
||||
#include "lib/stringinfo.h"
|
||||
#include "nodes/pg_list.h"
|
||||
#include "storage/relfilenode.h"
|
||||
#include "storage/sinval.h"
|
||||
#include "utils/datetime.h"
|
||||
|
||||
/*
|
||||
* Maximum size of Global Transaction ID (including '\0').
|
||||
|
Reference in New Issue
Block a user