diff options
author | Tom Lane | 2007-06-12 16:01:31 +0000 |
---|---|---|
committer | Tom Lane | 2007-06-12 16:01:31 +0000 |
commit | a560787360d2d635a74f12d403c34e894d63ee75 (patch) | |
tree | 0bf1bd8b13227e2fbd50a07f78b1c2b27bb9859f | |
parent | 399fe38199d5acf49d73d1762b39b1ec00cb5a5c (diff) |
Minor comment fixes.
-rw-r--r-- | src/include/utils/datetime.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/utils/datetime.h b/src/include/utils/datetime.h index 3e9f59b298..d13874537f 100644 --- a/src/include/utils/datetime.h +++ b/src/include/utils/datetime.h @@ -84,7 +84,8 @@ * * Furthermore, the values for YEAR, MONTH, DAY, HOUR, MINUTE, SECOND * 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 @@ -177,7 +178,7 @@ #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_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) |