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

Commit4842ef8

Browse files
committed
Mask removal of network_ops in 7.0.
1 parentaef647a commit4842ef8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎src/backend/parser/gram.y

Lines changed: 10 additions & 2 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.140 2000/02/0718:12:49 wieck Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.141 2000/02/0721:24:15 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -2184,7 +2184,15 @@ opt_type: ':' Typename{ $$ = $2; }
21842184
* - thomas 1997-10-12
21852185
*| WITH class{ $$ = $2; }
21862186
*/
2187-
opt_class:class{$$ =$1; }
2187+
opt_class:class{
2188+
/*
2189+
* Release 7.0 removed network_ops, so we supress it from being passed
2190+
* to the backend so the default *_ops is used. This can be removed
2191+
* in some later release. bjm 2000/02/07
2192+
*/
2193+
if (strcmp($1,"network_ops") !=0)
2194+
$$ =$1;
2195+
else$$ =NULL; }
21882196
|USINGclass{$$ =$2; }
21892197
|/*EMPTY*/{$$ =NULL; }
21902198
;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp