mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Suppress timespan and datetime ops from being brought in via pg_dump
from previous release.
This commit is contained in:
parent
5cdfaea899
commit
46ba3f839d
@ -11,7 +11,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.150 2000/02/24 01:59:17 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.151 2000/02/24 16:34:21 momjian Exp $
|
||||||
*
|
*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* AUTHOR DATE MAJOR EVENT
|
* AUTHOR DATE MAJOR EVENT
|
||||||
@ -2332,11 +2332,14 @@ opt_type: ':' Typename { $$ = $2; }
|
|||||||
*/
|
*/
|
||||||
opt_class: class {
|
opt_class: class {
|
||||||
/*
|
/*
|
||||||
* Release 7.0 removed network_ops, so we supress it from being passed
|
* Release 7.0 removed network_ops, timespan_ops, and datetime_ops,
|
||||||
* to the backend so the default *_ops is used. This can be removed
|
* so we suppress it from being passed to the backend so the default
|
||||||
* in some later release. bjm 2000/02/07
|
* *_ops is used. This can be removed in some later release.
|
||||||
|
* bjm 2000/02/07
|
||||||
*/
|
*/
|
||||||
if (strcmp($1, "network_ops") != 0)
|
if (strcmp($1, "network_ops") != 0 &&
|
||||||
|
strcmp($1, "timespan_ops") != 0 &&
|
||||||
|
strcmp($1, "datetime_ops") != 0)
|
||||||
$$ = $1;
|
$$ = $1;
|
||||||
else $$ = NULL; }
|
else $$ = NULL; }
|
||||||
| USING class { $$ = $2; }
|
| USING class { $$ = $2; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user