Content-Length: 270267 | pFad | http://github.com/postgrespro/postgres/commit/7d12693473eca4008c5c53bb36a5f083068a941b

71 Move a definition inside a header file · postgrespro/postgres@7d12693 · GitHub
Skip to content

Commit 7d12693

Browse files
committed
Move a definition inside a header file
Over time, this has ended up in a slightly inappropriate place relative to the comments around it.
1 parent 31e121d commit 7d12693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/utils/date.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ typedef struct
4242
#define DATE_IS_NOEND(j) ((j) == DATEVAL_NOEND)
4343
#define DATE_NOT_FINITE(j) (DATE_IS_NOBEGIN(j) || DATE_IS_NOEND(j))
4444

45+
#define MAX_TIME_PRECISION 6
46+
4547
/*
4648
* Macros for fmgr-callable functions.
4749
*
4850
* For TimeADT, we make use of the same support routines as for int64.
4951
* Therefore TimeADT is pass-by-reference if and only if int64 is!
5052
*/
51-
#define MAX_TIME_PRECISION 6
52-
5353
#define DatumGetDateADT(X) ((DateADT) DatumGetInt32(X))
5454
#define DatumGetTimeADT(X) ((TimeADT) DatumGetInt64(X))
5555
#define DatumGetTimeTzADTP(X) ((TimeTzADT *) DatumGetPointer(X))

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7d12693473eca4008c5c53bb36a5f083068a941b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy