Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd99245

Browse files
committed
Remove redundant relam initialization
This struct member is initialized again a few lines below in the samefunction. 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 parent2b41de4 commitfd99245

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)

[8]ページ先頭

©2009-2025 Movatter.jp