Fix heap_page_prune() parameter order confusion introduced in dc7420c2c92.
authorAndres Freund <andres@anarazel.de>
Tue, 16 Feb 2021 01:12:12 +0000 (17:12 -0800)
committerAndres Freund <andres@anarazel.de>
Tue, 16 Feb 2021 01:12:12 +0000 (17:12 -0800)
commit8001cb77ee6cb4f32632850d41f00206a86bac3e
tree01bb308b8e552783f81b06b9f16061147d621863
parenta975ff4980d60f8cbd8d8cbcff70182ea53e787a
Fix heap_page_prune() parameter order confusion introduced in dc7420c2c92.

Both luckily and unluckily the passed values meant the same for all
types. Luckily because that meant my confusion caused no harm,
unluckily because otherwise the compiler might have warned...

In passing, synchronize parameter names between definition and
declaration.

Reported-By: Peter Geoghegan <pg@bowt.ie>
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CAH2-Wz=L=nBoepQdH9b5Qd0nMvepFT2CnT6sjWvvpOXa=K8HVQ@mail.gmail.com
src/backend/access/heap/vacuumlazy.c
src/include/access/heapam.h