pgsql: Remove useless bms_copy step in RelationGetIndexAttrBitmap. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove useless bms_copy step in RelationGetIndexAttrBitmap.
Date
Msg-id E1glj4k-0004l0-0z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove useless bms_copy step in RelationGetIndexAttrBitmap.

Seems to be from a bad case of copy-and-paste-itis in commit 665d1fad9.
It wouldn't be quite so annoying if it didn't contradict the comment
half a dozen lines above.

David Rowley

Discussion: https://postgr.es/m/CAKJS1f95Dyf8Qkdz4W+PbCmT-HTb54tkqUCC8isa2RVgSJ_pXQ@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5aa03f99fe7cfb1072849960465a040e834a25e2

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Create action triggers when partitions are detached
Next
From: Andres Freund
Date:
Subject: pgsql: Move generic snapshot related code from tqual.h to snapmgr.h.