mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-25 13:17:41 +03:00 
			
		
		
		
	Remove unused fields from ReindexStmt.
fe263d1 changed the REINDEX logic so that those fields are not used at all,
but forgot to remove them.
Sawada MasahikoThis commit is contained in:
		| @@ -3754,8 +3754,6 @@ _copyReindexStmt(const ReindexStmt *from) | ||||
| 	COPY_SCALAR_FIELD(kind); | ||||
| 	COPY_NODE_FIELD(relation); | ||||
| 	COPY_STRING_FIELD(name); | ||||
| 	COPY_SCALAR_FIELD(do_system); | ||||
| 	COPY_SCALAR_FIELD(do_user); | ||||
|  | ||||
| 	return newnode; | ||||
| } | ||||
|   | ||||
| @@ -1901,8 +1901,6 @@ _equalReindexStmt(const ReindexStmt *a, const ReindexStmt *b) | ||||
| 	COMPARE_SCALAR_FIELD(kind); | ||||
| 	COMPARE_NODE_FIELD(relation); | ||||
| 	COMPARE_STRING_FIELD(name); | ||||
| 	COMPARE_SCALAR_FIELD(do_system); | ||||
| 	COMPARE_SCALAR_FIELD(do_user); | ||||
|  | ||||
| 	return true; | ||||
| } | ||||
|   | ||||
| @@ -2739,8 +2739,6 @@ typedef struct ReindexStmt | ||||
| 	ReindexObjectType	kind;	/* REINDEX_OBJECT_INDEX, REINDEX_OBJECT_TABLE, etc. */ | ||||
| 	RangeVar   *relation;		/* Table or index to reindex */ | ||||
| 	const char *name;			/* name of database to reindex */ | ||||
| 	bool		do_system;		/* include system tables in database case */ | ||||
| 	bool		do_user;		/* include user tables in database case */ | ||||
| } ReindexStmt; | ||||
|  | ||||
| /* ---------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user