s/table_close/heap_close/ in v11.

Back-patching thinko in 306c31804.  Per buildfarm.
This commit is contained in:
Tom Lane 2021-06-18 11:45:45 -04:00
parent 306c318043
commit 0d3b69ae00

View File

@ -2068,7 +2068,7 @@ SetAttrMissing(Oid relid, char *attname, char *value)
/* Don't do anything unless it's a plain table */ /* Don't do anything unless it's a plain table */
if (tablerel->rd_rel->relkind != RELKIND_RELATION) if (tablerel->rd_rel->relkind != RELKIND_RELATION)
{ {
table_close(tablerel, AccessExclusiveLock); heap_close(tablerel, AccessExclusiveLock);
return; return;
} }