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

Appearance settings

Commit 3b6ca12

Browse filesBrowse files
committed
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 Masahiko
1 parent cd5ebe1 commit 3b6ca12
Copy full SHA for 3b6ca12

File tree

Expand file treeCollapse file tree

3 files changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+0
-6
lines changed

‎src/backend/nodes/copyfuncs.c

Copy file name to clipboardExpand all lines: src/backend/nodes/copyfuncs.c
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3754,8 +3754,6 @@ _copyReindexStmt(const ReindexStmt *from)
37543754
COPY_SCALAR_FIELD(kind);
37553755
COPY_NODE_FIELD(relation);
37563756
COPY_STRING_FIELD(name);
3757-
COPY_SCALAR_FIELD(do_system);
3758-
COPY_SCALAR_FIELD(do_user);
37593757

37603758
return newnode;
37613759
}

‎src/backend/nodes/equalfuncs.c

Copy file name to clipboardExpand all lines: src/backend/nodes/equalfuncs.c
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,8 +1901,6 @@ _equalReindexStmt(const ReindexStmt *a, const ReindexStmt *b)
19011901
COMPARE_SCALAR_FIELD(kind);
19021902
COMPARE_NODE_FIELD(relation);
19031903
COMPARE_STRING_FIELD(name);
1904-
COMPARE_SCALAR_FIELD(do_system);
1905-
COMPARE_SCALAR_FIELD(do_user);
19061904

19071905
return true;
19081906
}

‎src/include/nodes/parsenodes.h

Copy file name to clipboardExpand all lines: src/include/nodes/parsenodes.h
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,8 +2739,6 @@ typedef struct ReindexStmt
27392739
ReindexObjectType kind; /* REINDEX_OBJECT_INDEX, REINDEX_OBJECT_TABLE, etc. */
27402740
RangeVar *relation; /* Table or index to reindex */
27412741
const char *name; /* name of database to reindex */
2742-
bool do_system; /* include system tables in database case */
2743-
bool do_user; /* include user tables in database case */
27442742
} ReindexStmt;
27452743

27462744
/* ----------------------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.