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

Commit7fbdefd

Browse files
committed
Remove useless bms_copy step in RelationGetIndexAttrBitmap.
Seems to be from a bad case of copy-and-paste-itis in commit665d1fa.It wouldn't be quite so annoying if it didn't contradict the commenthalf a dozen lines above.David RowleyDiscussion:https://postgr.es/m/CAKJS1f95Dyf8Qkdz4W+PbCmT-HTb54tkqUCC8isa2RVgSJ_pXQ@mail.gmail.com
1 parent123cc69 commit7fbdefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/cache/relcache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5003,7 +5003,7 @@ RelationGetIndexAttrBitmap(Relation relation, IndexAttrBitmapKind attrKind)
50035003
caseINDEX_ATTR_BITMAP_KEY:
50045004
returnuindexattrs;
50055005
caseINDEX_ATTR_BITMAP_PRIMARY_KEY:
5006-
returnbms_copy(relation->rd_pkattr);
5006+
returnpkindexattrs;
50075007
caseINDEX_ATTR_BITMAP_IDENTITY_KEY:
50085008
returnidindexattrs;
50095009
default:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp