Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4358393

Browse files
committed
CatalogUpdateIndexes -> CatalogTupleInsert
1 parent 3981c98 commit 4358393

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

multimaster.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4483,11 +4483,8 @@ Datum mtm_make_table_local(PG_FUNCTION_ARGS)
44834483

44844484
tup = heap_form_tuple(tupDesc, values, nulls);
44854485

4486-
/* Insert the tuple to the catalog. */
4487-
simple_heap_insert(rel, tup);
4488-
4489-
/* Update the indexes. */
4490-
CatalogUpdateIndexes(rel, tup);
4486+
/* Insert the tuple to the catalog and update the indexes. */
4487+
CatalogTupleInsert(rel, tup);
44914488

44924489
/* Cleanup. */
44934490
heap_freetuple(tup);

0 commit comments

Comments
 (0)