pgsql: Fix heap_page_prune() parameter order confusion introduced in dc

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix heap_page_prune() parameter order confusion introduced in dc
Date: 2021-02-16 01:29:54
Message-ID: E1lBpBa-0006Ns-C3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)bowt(dot)ie>
Author: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/CAH2-Wz=L=nBoepQdH9b5Qd0nMvepFT2CnT6sjWvvpOXa=K8HVQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8001cb77ee6cb4f32632850d41f00206a86bac3e

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 4 ++--
src/include/access/heapam.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-02-16 02:04:48 pgsql: Remove the unnecessary PrepareWrite in pgoutput.
Previous Message Andres Freund 2021-02-16 01:00:59 pgsql: Remove backwards compat ugliness in snapbuild.c.