BitmapHeapScan: begin scan after bitmap creation
authorTomas Vondra <tomas.vondra@postgresql.org>
Sat, 6 Apr 2024 20:57:58 +0000 (22:57 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sat, 6 Apr 2024 20:58:04 +0000 (22:58 +0200)
commit1577081e9614345534a018e788a2c0bab4da4dc5
treebb60fab00eb15d8090433566ead3edd8e3a78705
parent06558f49529553aecb6ad52a0470d63cb59d7df9
BitmapHeapScan: begin scan after bitmap creation

Change the order so that the table scan is initialized only after
initializing the index scan and building the bitmap.

This is mostly a cosmetic change for now, but later commits will need
to pass parameters to table_beginscan_bm() that are unavailable in
ExecInitBitmapHeapScan().

Author: Melanie Plageman
Reviewed-by: Tomas Vondra, Andres Freund, Heikki Linnakangas
Discussion: https://postgr.es/m/CAAKRu_ZwCwWFeL_H3ia26bP2e7HiKLWt0ZmGXPVwPO6uXq0vaA%40mail.gmail.com
src/backend/executor/nodeBitmapHeapscan.c