Skip to content

Commit fd99245

Browse files
committed
Remove redundant relam initialization
This struct member is initialized again a few lines below in the same function. This is cosmetic, so no backpatch. Reported-by: Jingtang Zhang <[email protected]> Discussion: https://postgr.es/m/[email protected]
1 parent 2b41de4 commit fd99245

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/utils/cache/relcache.c

-1
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,6 @@ formrdesc(const char *relationName, Oid relationReltype,
19391939
relation->rd_rel->relallvisible = 0;
19401940
relation->rd_rel->relkind = RELKIND_RELATION;
19411941
relation->rd_rel->relnatts = (int16) natts;
1942-
relation->rd_rel->relam = HEAP_TABLE_AM_OID;
19431942

19441943
/*
19451944
* initialize attribute tuple form

0 commit comments

Comments
 (0)