mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -1904,7 +1904,7 @@ memcpy(destination->data, buffer, 40);
|
||||
<row>
|
||||
<entry><type>interval</type></entry>
|
||||
<entry><type>Interval*</type></entry>
|
||||
<entry><filename>utils/timestamp.h</filename></entry>
|
||||
<entry><filename>datatype/timestamp.h</filename></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>lseg</type></entry>
|
||||
@ -1969,7 +1969,7 @@ memcpy(destination->data, buffer, 40);
|
||||
<row>
|
||||
<entry><type>timestamp</type></entry>
|
||||
<entry><type>Timestamp*</type></entry>
|
||||
<entry><filename>utils/timestamp.h</filename></entry>
|
||||
<entry><filename>datatype/timestamp.h</filename></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>tinterval</type></entry>
|
||||
|
Reference in New Issue
Block a user