Skip to content
Snippets Groups Projects
Commit 8be9b50a authored by Tom Lane's avatar Tom Lane
Browse files

Minor comment fixes.

parent d0599994
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.66 2007/05/29 04:58:43 neilc Exp $ * $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.67 2007/06/12 16:01:31 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -84,7 +84,8 @@ ...@@ -84,7 +84,8 @@
* *
* Furthermore, the values for YEAR, MONTH, DAY, HOUR, MINUTE, SECOND * Furthermore, the values for YEAR, MONTH, DAY, HOUR, MINUTE, SECOND
* must be in the range 0..14 so that the associated bitmasks can fit * must be in the range 0..14 so that the associated bitmasks can fit
* into the left half of an INTERVAL's typmod value. * into the left half of an INTERVAL's typmod value. Since those bits
* are stored in typmods, you can't change them without initdb!
*/ */
#define RESERV 0 #define RESERV 0
...@@ -177,7 +178,7 @@ ...@@ -177,7 +178,7 @@
#define DTK_M(t) (0x01 << (t)) #define DTK_M(t) (0x01 << (t))
/* Convenvience: a second, plus any fractional component */ /* Convenience: a second, plus any fractional component */
#define DTK_ALL_SECS_M (DTK_M(SECOND) | DTK_M(MILLISECOND) | DTK_M(MICROSECOND)) #define DTK_ALL_SECS_M (DTK_M(SECOND) | DTK_M(MILLISECOND) | DTK_M(MICROSECOND))
#define DTK_DATE_M (DTK_M(YEAR) | DTK_M(MONTH) | DTK_M(DAY)) #define DTK_DATE_M (DTK_M(YEAR) | DTK_M(MONTH) | DTK_M(DAY))
#define DTK_TIME_M (DTK_M(HOUR) | DTK_M(MINUTE) | DTK_ALL_SECS_M) #define DTK_TIME_M (DTK_M(HOUR) | DTK_M(MINUTE) | DTK_ALL_SECS_M)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment