|
11 | 11 | *
|
12 | 12 | *
|
13 | 13 | * IDENTIFICATION
|
14 |
| - * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.160 2000/03/2000:24:37 inoue Exp $ |
| 14 | + * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.161 2000/03/2005:20:34 tgl Exp $ |
15 | 15 | *
|
16 | 16 | * HISTORY
|
17 | 17 | * AUTHORDATEMAJOR EVENT
|
@@ -4179,9 +4179,15 @@ a_expr: c_expr
|
4179 | 4179 | |'|'a_expr
|
4180 | 4180 | {$$ = makeA_Expr(OP,"|",NULL,$2); }
|
4181 | 4181 | |':'a_expr
|
4182 |
| -{$$ = makeA_Expr(OP,":",NULL,$2); } |
| 4182 | +{$$ = makeA_Expr(OP,":",NULL,$2); |
| 4183 | +elog(NOTICE,"The ':' operator is deprecated. Use exp(x) instead." |
| 4184 | +"\n\tThis operator will be removed in a future release."); |
| 4185 | +} |
4183 | 4186 | |';'a_expr
|
4184 |
| -{$$ = makeA_Expr(OP,";",NULL,$2); } |
| 4187 | +{$$ = makeA_Expr(OP,";",NULL,$2); |
| 4188 | +elog(NOTICE,"The ';' operator is deprecated. Use ln(x) instead." |
| 4189 | +"\n\tThis operator will be removed in a future release."); |
| 4190 | +} |
4185 | 4191 | |a_expr'%'
|
4186 | 4192 | {$$ = makeA_Expr(OP,"%",$1,NULL); }
|
4187 | 4193 | |a_expr'^'
|
@@ -4397,9 +4403,15 @@ b_expr: c_expr
|
4397 | 4403 | |'|'b_expr
|
4398 | 4404 | {$$ = makeA_Expr(OP,"|",NULL,$2); }
|
4399 | 4405 | |':'b_expr
|
4400 |
| -{$$ = makeA_Expr(OP,":",NULL,$2); } |
| 4406 | +{$$ = makeA_Expr(OP,":",NULL,$2); |
| 4407 | +elog(NOTICE,"The ':' operator is deprecated. Use exp(x) instead." |
| 4408 | +"\n\tThis operator will be removed in a future release."); |
| 4409 | +} |
4401 | 4410 | |';'b_expr
|
4402 |
| -{$$ = makeA_Expr(OP,";",NULL,$2); } |
| 4411 | +{$$ = makeA_Expr(OP,";",NULL,$2); |
| 4412 | +elog(NOTICE,"The ';' operator is deprecated. Use ln(x) instead." |
| 4413 | +"\n\tThis operator will be removed in a future release."); |
| 4414 | +} |
4403 | 4415 | |b_expr'%'
|
4404 | 4416 | {$$ = makeA_Expr(OP,"%",$1,NULL); }
|
4405 | 4417 | |b_expr'^'
|
|