pgsql: Remove useless bms_copy step in RelationGetIndexAttrBitmap.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove useless bms_copy step in RelationGetIndexAttrBitmap.
Date: 2019-01-21 23:33:54
Message-ID: E1glj4k-0004kx-0p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f9e934ab746907abbeeed06a1a9b995e5b4d339

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-01-22 01:15:36 pgsql: Move generic snapshot related code from tqual.h to snapmgr.h.
Previous Message Alvaro Herrera 2019-01-21 23:10:44 pgsql: Create action triggers when partitions are detached