1010 *
1111 *
1212 * IDENTIFICATION
13- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.111 1999/10/26 16:32:46 momjian Exp $
13+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.112 1999/10/29 23:44:42 momjian Exp $
1414 *
1515 * HISTORY
1616 * AUTHOR DATE MAJOR EVENT
@@ -3384,7 +3384,7 @@ opt_float: '(' Iconst ')'
33843384opt_numeric: '(' Iconst ',' Iconst ')'
33853385 {
33863386 if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
3387- elog(ERROR,"NUMERIC precision %d must be beween 1 and %d",
3387+ elog(ERROR,"NUMERIC precision %d must be between 1 and %d",
33883388 $2, NUMERIC_MAX_PRECISION);
33893389 if ($4 < 0 || $4 > $2)
33903390 elog(ERROR,"NUMERIC scale %d must be between 0 and precision %d",
@@ -3395,7 +3395,7 @@ opt_numeric: '(' Iconst ',' Iconst ')'
33953395 | '(' Iconst ')'
33963396 {
33973397 if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
3398- elog(ERROR,"NUMERIC precision %d must be beween 1 and %d",
3398+ elog(ERROR,"NUMERIC precision %d must be between 1 and %d",
33993399 $2, NUMERIC_MAX_PRECISION);
34003400
34013401 $$ = ($2 << 16) + VARHDRSZ;
@@ -3409,7 +3409,7 @@ opt_numeric: '(' Iconst ',' Iconst ')'
34093409opt_decimal: '(' Iconst ',' Iconst ')'
34103410 {
34113411 if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
3412- elog(ERROR,"DECIMAL precision %d must be beween 1 and %d",
3412+ elog(ERROR,"DECIMAL precision %d must be between 1 and %d",
34133413 $2, NUMERIC_MAX_PRECISION);
34143414 if ($4 < 0 || $4 > $2)
34153415 elog(ERROR,"DECIMAL scale %d must be between 0 and precision %d",
@@ -3420,7 +3420,7 @@ opt_decimal: '(' Iconst ',' Iconst ')'
34203420 | '(' Iconst ')'
34213421 {
34223422 if ($2 < 1 || $2 > NUMERIC_MAX_PRECISION)
3423- elog(ERROR,"DECIMAL precision %d must be beween 1 and %d",
3423+ elog(ERROR,"DECIMAL precision %d must be between 1 and %d",
34243424 $2, NUMERIC_MAX_PRECISION);
34253425
34263426 $$ = ($2 << 16) + VARHDRSZ;
0 commit comments