diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c
index cd35fdeedf42232a08884af0a950187ed45cbd80..2ea063f336fccb7a7e125e43721e0c1c2a8b7983 100644
--- a/src/backend/nodes/copyfuncs.c
+++ b/src/backend/nodes/copyfuncs.c
@@ -15,7 +15,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.147 2001/07/12 18:02:59 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.148 2001/07/16 19:07:37 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -2037,18 +2037,6 @@ _copyCommentStmt(CommentStmt *from)
 	return newnode;
 }
 
-static ExtendStmt *
-_copyExtendStmt(ExtendStmt *from)
-{
-	ExtendStmt *newnode = makeNode(ExtendStmt);
-
-	newnode->idxname = pstrdup(from->idxname);
-	Node_Copy(from, newnode, whereClause);
-	Node_Copy(from, newnode, rangetable);
-
-	return newnode;
-}
-
 static FetchStmt *
 _copyFetchStmt(FetchStmt *from)
 {
@@ -2796,9 +2784,6 @@ copyObject(void *from)
 		case T_CommentStmt:
 			retval = _copyCommentStmt(from);
 			break;
-		case T_ExtendStmt:
-			retval = _copyExtendStmt(from);
-			break;
 		case T_FetchStmt:
 			retval = _copyFetchStmt(from);
 			break;
diff --git a/src/backend/nodes/equalfuncs.c b/src/backend/nodes/equalfuncs.c
index 6bc088577ce3c0c80755cad0b6a229ece14a6831..eb194f667f49769137915d64fc7f788ab39740c9 100644
--- a/src/backend/nodes/equalfuncs.c
+++ b/src/backend/nodes/equalfuncs.c
@@ -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;
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 99312049a83418ea237a8fc3672ec97b71f544fd..00c66246ff96aea1c99bc47b3c38258c84328a46 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -11,7 +11,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.237 2001/07/16 05:06:58 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.238 2001/07/16 19:07:40 momjian Exp $
  *
  * HISTORY
  *	  AUTHOR			DATE			MAJOR EVENT
@@ -2469,7 +2469,6 @@ opt_class:  class
 		| /*EMPTY*/								{ $$ = NULL; }
 		;
 
-
 /*****************************************************************************
  *
  *		QUERY:
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index fe2d0357848d67fc7396069423eec38ae688f54f..044cb5470b90e6424e8bc32e148e5a8e99824b92 100644
--- a/src/include/nodes/nodes.h
+++ b/src/include/nodes/nodes.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodes.h,v 1.91 2001/06/19 22:39:12 tgl Exp $
+ * $Id: nodes.h,v 1.92 2001/07/16 19:07:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -158,7 +158,6 @@ typedef enum NodeTag
 	T_DropStmt,
 	T_TruncateStmt,
 	T_CommentStmt,
-	T_ExtendStmt,
 	T_FetchStmt,
 	T_IndexStmt,
 	T_ProcedureStmt,
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 73fab4f9525b8ebea9d7ec42655a032affc1e1f6..9fa703454f8c39df69abe85aba6d157effd1472d 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parsenodes.h,v 1.135 2001/07/12 18:03:00 tgl Exp $
+ * $Id: parsenodes.h,v 1.136 2001/07/16 19:07:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -465,19 +465,6 @@ typedef struct CommentStmt
 	char	   *comment;		/* The comment to insert */
 } CommentStmt;
 
-/* ----------------------
- *		Extend Index Statement
- * ----------------------
- */
-typedef struct ExtendStmt
-{
-	NodeTag		type;
-	char	   *idxname;		/* name of the index */
-	Node	   *whereClause;	/* qualifications */
-	List	   *rangetable;		/* range table, filled in by
-								 * transformStmt() */
-} ExtendStmt;
-
 /* ----------------------
  *		Begin Recipe Statement
  * ----------------------