Skip to content

Commit 7dc63f2

Browse files
author
Antonin Houska
committed
Removed unused function.
Forgotten in commit 4c1b9e4.
1 parent 53047de commit 7dc63f2

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

pg_rewrite.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ static IndexCatInfo *get_index_info(Oid relid, int *relninds,
131131
bool *found_invalid,
132132
bool invalid_check_only,
133133
bool *found_pk);
134-
static TupleDesc get_index_tuple_desc(Oid ind_oid);
135134
static ModifyTableState *get_modify_table_state(EState *estate, Relation rel,
136135
CmdType operation);
137136
static void free_modify_table_state(ModifyTableState *mtstate);
@@ -2038,18 +2037,6 @@ get_index_info(Oid relid, int *relninds, bool *found_invalid,
20382037
return result;
20392038
}
20402039

2041-
static TupleDesc
2042-
get_index_tuple_desc(Oid ind_oid)
2043-
{
2044-
Relation ind_rel;
2045-
TupleDesc result;
2046-
2047-
ind_rel = index_open(ind_oid, AccessShareLock);
2048-
result = CreateTupleDescCopy(RelationGetDescr(ind_rel));
2049-
index_close(ind_rel, AccessShareLock);
2050-
return result;
2051-
}
2052-
20532040
/*
20542041
* Create ModifyTableState and do the minimal initialization so that
20552042
* ExecFindPartition() works.

0 commit comments

Comments
 (0)