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

Commit8be9b50

Browse files
committed
Minor comment fixes.
1 parentd059999 commit8be9b50

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
#defineRESERV0
@@ -177,7 +178,7 @@
177178

178179
#defineDTK_M(t)(0x01 << (t))
179180

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp