Content-Length: 275469 | pFad | http://github.com/postgrespro/postgres/commit/6972d9104b6c54bae2fd63d8e02e9c014d162ca3
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f5c2d commit 6972d91Copy full SHA for 6972d91
src/interfaces/ecpg/pgtypeslib/interval.c
@@ -155,7 +155,7 @@ DecodeISO8601Interval(char *str,
155
{
156
case 'Y':
157
tm->tm_year += val;
158
- tm->tm_mon += (fval * 12);
+ tm->tm_mon += (fval * MONTHS_PER_YEAR);
159
break;
160
case 'M':
161
tm->tm_mon += val;
@@ -191,7 +191,7 @@ DecodeISO8601Interval(char *str,
191
return DTERR_BAD_FORMAT;
192
193
194
195
if (unit == '\0')
196
return 0;
197
if (unit == 'T')
Fetched URL: http://github.com/postgrespro/postgres/commit/6972d9104b6c54bae2fd63d8e02e9c014d162ca3
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments