Skip to content

Commit 4842ef8

Browse files
committed
Mask removal of network_ops in 7.0.
1 parent aef647a commit 4842ef8

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/07 18:12:49 wieck Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.141 2000/02/07 21:24:15 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR 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
| USING class { $$ = $2; }
21892197
| /*EMPTY*/ { $$ = NULL; }
21902198
;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy