|
9 | 9 | * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
10 | 10 | * Portions Copyright (c) 1994, Regents of the University of California
|
11 | 11 | *
|
12 |
| - * $Id: datetime.h,v 1.22 2001/09/28 08:09:14 thomas Exp $ |
| 12 | + * $Id: datetime.h,v 1.23 2001/10/23 20:17:27 tgl Exp $ |
13 | 13 | *
|
14 | 14 | *-------------------------------------------------------------------------
|
15 | 15 | */
|
|
78 | 78 |
|
79 | 79 | /*
|
80 | 80 | * Fields for time decoding.
|
| 81 | + * |
81 | 82 | * Can't have more of these than there are bits in an unsigned int
|
82 |
| - *since these are turned into bit masks during parsing and decoding. |
| 83 | + * since these are turned into bit masks during parsing and decoding. |
| 84 | + * |
| 85 | + * Furthermore, the values for YEAR, MONTH, DAY, HOUR, MINUTE, SECOND |
| 86 | + * 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. |
83 | 88 | */
|
84 | 89 |
|
85 | 90 | #defineRESERV0
|
|