From a7801b62f21bd051444bd1119cd3745ecc8e14ec Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 9 Sep 2011 13:23:41 -0400 Subject: Move Timestamp/Interval typedefs and basic macros into datatype/timestamp.h. As per my recent proposal, this refactors things so that these typedefs and macros are available in a header that can be included in frontend-ish code. I also changed various headers that were undesirably including utils/timestamp.h to include datatype/timestamp.h instead. Unsurprisingly, this showed that half the system was getting utils/timestamp.h by way of xlog.h. No actual code changes here, just header refactoring. --- src/include/access/xlog_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/access/xlog_internal.h') diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 68c0691015..4eaa243948 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -17,6 +17,8 @@ #define XLOG_INTERNAL_H #include "access/xlog.h" +#include "fmgr.h" +#include "pgtime.h" #include "storage/block.h" #include "storage/relfilenode.h" -- cgit v1.2.1