Remove useless bms_copy step in RelationGetIndexAttrBitmap.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 7fbdefd30e7c644bd7c6ec0799abb49584e01477
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-01-21T23:33:43Z
Releases: 11.2
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

Files

PathChange+/−
src/backend/utils/cache/relcache.c modified +1 −1

Discussion