|
11 | 11 | * |
12 | 12 | * |
13 | 13 | * IDENTIFICATION |
14 | | - * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.150 2000/02/2401:59:17 tgl Exp $ |
| 14 | + * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.151 2000/02/2416:34:21 momjian Exp $ |
15 | 15 | * |
16 | 16 | * HISTORY |
17 | 17 | * AUTHORDATEMAJOR EVENT |
@@ -2332,13 +2332,16 @@ opt_type: ':' Typename{ $$ = $2; } |
2332 | 2332 | */ |
2333 | 2333 | opt_class:class{ |
2334 | 2334 | /* |
2335 | | - * Release 7.0 removed network_ops, so we supress it from being passed |
2336 | | - * to the backend so the default *_ops is used. This can be removed |
2337 | | - * in some later release. bjm 2000/02/07 |
| 2335 | + * Release 7.0 removed network_ops, timespan_ops, and datetime_ops, |
| 2336 | + * so we suppress it from being passed to the backend so the default |
| 2337 | + * *_ops is used. This can be removed in some later release. |
| 2338 | + * bjm 2000/02/07 |
2338 | 2339 | */ |
2339 | | -if (strcmp($1,"network_ops") !=0) |
2340 | | -$$ =$1; |
2341 | | -else$$ =NULL; } |
| 2340 | +if (strcmp($1,"network_ops") !=0 && |
| 2341 | +strcmp($1,"timespan_ops") != 0 && |
| 2342 | + strcmp($1,"datetime_ops") != 0) |
| 2343 | + $$ = $1; |
| 2344 | +else$$ =NULL; } |
2342 | 2345 | |USINGclass{$$ =$2; } |
2343 | 2346 | |/*EMPTY*/{$$ =NULL; } |
2344 | 2347 | ; |
|