Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit46ba3f8

Browse files
committed
Suppress timespan and datetime ops from being brought in via pg_dump
from previous release.
1 parent5cdfaea commit46ba3f8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

‎src/backend/parser/gram.y

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* 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 $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -2332,13 +2332,16 @@ opt_type: ':' Typename{ $$ = $2; }
23322332
*/
23332333
opt_class:class{
23342334
/*
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
23382339
*/
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; }
23422345
|USINGclass{$$ =$2; }
23432346
|/*EMPTY*/{$$ =NULL; }
23442347
;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp