11
11
*
12
12
*
13
13
* IDENTIFICATION
14
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.263 2001/10/18 17:30:14 thomas Exp $
14
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.264 2001/10/18 23:16:09 tgl Exp $
15
15
*
16
16
* HISTORY
17
17
* AUTHOR DATE MAJOR EVENT
@@ -4134,7 +4134,7 @@ opt_float: '(' Iconst ')'
4134
4134
opt_numeric : ' (' Iconst ' ,' Iconst ' )'
4135
4135
{
4136
4136
if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
4137
- elog (ERROR," NUMERIC precision %d must be beween 1 and %d" ,
4137
+ elog (ERROR," NUMERIC precision %d must be between 1 and %d" ,
4138
4138
$2 , NUMERIC_MAX_PRECISION);
4139
4139
if ($4 < 0 || $4 > $2 )
4140
4140
elog (ERROR," NUMERIC scale %d must be between 0 and precision %d" ,
@@ -4145,7 +4145,7 @@ opt_numeric: '(' Iconst ',' Iconst ')'
4145
4145
| ' (' Iconst ' )'
4146
4146
{
4147
4147
if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
4148
- elog (ERROR," NUMERIC precision %d must be beween 1 and %d" ,
4148
+ elog (ERROR," NUMERIC precision %d must be between 1 and %d" ,
4149
4149
$2 , NUMERIC_MAX_PRECISION);
4150
4150
4151
4151
$$ = ($2 << 16 ) + VARHDRSZ;
@@ -4160,7 +4160,7 @@ opt_numeric: '(' Iconst ',' Iconst ')'
4160
4160
opt_decimal : ' (' Iconst ' ,' Iconst ' )'
4161
4161
{
4162
4162
if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
4163
- elog (ERROR," DECIMAL precision %d must be beween 1 and %d" ,
4163
+ elog (ERROR," DECIMAL precision %d must be between 1 and %d" ,
4164
4164
$2 , NUMERIC_MAX_PRECISION);
4165
4165
if ($4 < 0 || $4 > $2 )
4166
4166
elog (ERROR," DECIMAL scale %d must be between 0 and precision %d" ,
@@ -4171,7 +4171,7 @@ opt_decimal: '(' Iconst ',' Iconst ')'
4171
4171
| ' (' Iconst ' )'
4172
4172
{
4173
4173
if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
4174
- elog (ERROR," DECIMAL precision %d must be beween 1 and %d" ,
4174
+ elog (ERROR," DECIMAL precision %d must be between 1 and %d" ,
4175
4175
$2 , NUMERIC_MAX_PRECISION);
4176
4176
4177
4177
$$ = ($2 << 16 ) + VARHDRSZ;
@@ -4308,8 +4308,8 @@ ConstDatetime: datetime
4308
4308
*/
4309
4309
$$ ->timezone = $5 ;
4310
4310
if (($3 < 0 ) || ($3 > 13 ))
4311
- elog (ERROR," TIMESTAMP(%d) %s precision must be beween %d and %d" ,
4312
- $3 , ($5 ? " WITH TIME ZONE" : " " ), 0, 13);
4311
+ elog (ERROR," TIMESTAMP(%d)%s precision must be between %d and %d" ,
4312
+ $3 , ($5 ? " WITH TIME ZONE" : " " ), 0, 13);
4313
4313
$$ ->typmod = $3 ;
4314
4314
}
4315
4315
| TIMESTAMP opt_timezone_x
@@ -4336,8 +4336,8 @@ ConstDatetime: datetime
4336
4336
else
4337
4337
$$ ->name = xlateSqlType(" time" );
4338
4338
if (($3 < 0 ) || ($3 > 13 ))
4339
- elog (ERROR," TIME(%d) %s precision must be beween %d and %d" ,
4340
- $3 , ($5 ? " WITH TIME ZONE" : " " ), 0, 13);
4339
+ elog (ERROR," TIME(%d)%s precision must be between %d and %d" ,
4340
+ $3 , ($5 ? " WITH TIME ZONE" : " " ), 0, 13);
4341
4341
$$ ->typmod = $3 ;
4342
4342
}
4343
4343
| TIME opt_timezone
@@ -5091,7 +5091,7 @@ c_expr: attr
5091
5091
d->name = xlateSqlType(" timestamptz" );
5092
5092
d->setof = FALSE ;
5093
5093
if (($3 < 0 ) || ($3 > 13 ))
5094
- elog (ERROR," CURRENT_TIMESTAMP(%d) precision must be beween %d and %d" ,
5094
+ elog (ERROR," CURRENT_TIMESTAMP(%d) precision must be between %d and %d" ,
5095
5095
$3 , 0 , 13 );
5096
5096
d->typmod = $3 ;
5097
5097
0 commit comments