diff options
| author | Tom Lane | 2011-09-09 17:23:41 +0000 |
|---|---|---|
| committer | Tom Lane | 2011-09-09 17:23:41 +0000 |
| commit | a7801b62f21bd051444bd1119cd3745ecc8e14ec (patch) | |
| tree | 6fadb50519ea12ee48d87f89835a027b1eb493ed /src/include/replication | |
| parent | d63de337f3e235f02d79a1df79dddbb002e9fd4e (diff) | |
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.
Diffstat (limited to 'src/include/replication')
| -rw-r--r-- | src/include/replication/walprotocol.h | 2 | ||||
| -rw-r--r-- | src/include/replication/walsender.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/replication/walprotocol.h b/src/include/replication/walprotocol.h index 94146679fa6..656c8fc17fd 100644 --- a/src/include/replication/walprotocol.h +++ b/src/include/replication/walprotocol.h @@ -13,7 +13,7 @@ #define _WALPROTOCOL_H #include "access/xlogdefs.h" -#include "utils/timestamp.h" +#include "datatype/timestamp.h" /* diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h index fe4dac81aaf..a386ea9b1b2 100644 --- a/src/include/replication/walsender.h +++ b/src/include/replication/walsender.h @@ -13,6 +13,7 @@ #define _WALSENDER_H #include "access/xlog.h" +#include "fmgr.h" #include "nodes/nodes.h" #include "storage/latch.h" #include "storage/shmem.h" |
