Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit636f85d

Browse files
peterepull[bot]
authored andcommitted
Move a definition inside a header file
Over time, this has ended up in a slightly inappropriate placerelative to the comments around it.
1 parent169adb3 commit636f85d

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
#defineDATE_IS_NOEND(j)((j) == DATEVAL_NOEND)
4343
#defineDATE_NOT_FINITE(j)(DATE_IS_NOBEGIN(j) || DATE_IS_NOEND(j))
4444

45+
#defineMAX_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-
#defineMAX_TIME_PRECISION 6
52-
5353
#defineDatumGetDateADT(X) ((DateADT) DatumGetInt32(X))
5454
#defineDatumGetTimeADT(X) ((TimeADT) DatumGetInt64(X))
5555
#defineDatumGetTimeTzADTP(X) ((TimeTzADT *) DatumGetPointer(X))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp