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 <mrdrivingduck@gmail.com> Discussion: https://postgr.es/m/AFF74506-B925-46BB-B875-CF5A946170EB@gmail.com
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

Lines changed: 0 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy