diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-09 13:23:41 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-09 13:23:41 -0400 |
| commit | a7801b62f21bd051444bd1119cd3745ecc8e14ec (patch) | |
| tree | 6fadb50519ea12ee48d87f89835a027b1eb493ed /src/include/libpq/libpq-be.h | |
| parent | d63de337f3e235f02d79a1df79dddbb002e9fd4e (diff) | |
| download | postgresql-a7801b62f21bd051444bd1119cd3745ecc8e14ec.tar.gz | |
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/libpq/libpq-be.h')
| -rw-r--r-- | src/include/libpq/libpq-be.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/libpq/libpq-be.h b/src/include/libpq/libpq-be.h index 77e190fd1a..d9a565bd09 100644 --- a/src/include/libpq/libpq-be.h +++ b/src/include/libpq/libpq-be.h @@ -65,9 +65,9 @@ typedef struct #endif #endif /* ENABLE_SSPI */ +#include "datatype/timestamp.h" #include "libpq/hba.h" #include "libpq/pqcomm.h" -#include "utils/timestamp.h" typedef enum CAC_state |
