mirror of https://github.com/postgres/postgres
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.pull/56/head
parent
d7ec8337f9
commit
3941eb6341
Loading…
Reference in new issue