mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
More EXTEND INDEX removal.
Martijn van Oosterhout
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.95 2001/07/12 18:02:59 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.96 2001/07/16 19:07:38 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -898,19 +898,6 @@ _equalCommentStmt(CommentStmt *a, CommentStmt *b)
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalExtendStmt(ExtendStmt *a, ExtendStmt *b)
|
||||
{
|
||||
if (!equalstr(a->idxname, b->idxname))
|
||||
return false;
|
||||
if (!equal(a->whereClause, b->whereClause))
|
||||
return false;
|
||||
if (!equal(a->rangetable, b->rangetable))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalFetchStmt(FetchStmt *a, FetchStmt *b)
|
||||
{
|
||||
@@ -1940,9 +1927,6 @@ equal(void *a, void *b)
|
||||
case T_CommentStmt:
|
||||
retval = _equalCommentStmt(a, b);
|
||||
break;
|
||||
case T_ExtendStmt:
|
||||
retval = _equalExtendStmt(a, b);
|
||||
break;
|
||||
case T_FetchStmt:
|
||||
retval = _equalFetchStmt(a, b);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user