diff options
Diffstat (limited to 'src/backend/commands/matview.c')
-rw-r--r-- | src/backend/commands/matview.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/commands/matview.c b/src/backend/commands/matview.c index b7daf1ca0a0..a18c9173360 100644 --- a/src/backend/commands/matview.c +++ b/src/backend/commands/matview.c @@ -100,9 +100,7 @@ SetMatViewPopulatedState(Relation relation, bool newstate) ((Form_pg_class) GETSTRUCT(tuple))->relispopulated = newstate; - simple_heap_update(pgrel, &tuple->t_self, tuple); - - CatalogUpdateIndexes(pgrel, tuple); + CatalogTupleUpdate(pgrel, &tuple->t_self, tuple); heap_freetuple(tuple); heap_close(pgrel, RowExclusiveLock); |