Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8be9b50

Browse files
committed
Minor comment fixes.
1 parent d059999 commit 8be9b50

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/include/utils/datetime.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.66 2007/05/29 04:58:43 neilc Exp $
12+
* $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.67 2007/06/12 16:01:31 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -84,7 +84,8 @@
8484
*
8585
* Furthermore, the values for YEAR, MONTH, DAY, HOUR, MINUTE, SECOND
8686
* must be in the range 0..14 so that the associated bitmasks can fit
87-
* into the left half of an INTERVAL's typmod value.
87+
* into the left half of an INTERVAL's typmod value. Since those bits
88+
* are stored in typmods, you can't change them without initdb!
8889
*/
8990

9091
#define RESERV 0
@@ -177,7 +178,7 @@
177178

178179
#define DTK_M(t) (0x01 << (t))
179180

180-
/* Convenvience: a second, plus any fractional component */
181+
/* Convenience: a second, plus any fractional component */
181182
#define DTK_ALL_SECS_M (DTK_M(SECOND) | DTK_M(MILLISECOND) | DTK_M(MICROSECOND))
182183
#define DTK_DATE_M (DTK_M(YEAR) | DTK_M(MONTH) | DTK_M(DAY))
183184
#define DTK_TIME_M (DTK_M(HOUR) | DTK_M(MINUTE) | DTK_ALL_SECS_M)

0 commit comments

Comments
 (0)