Fix compilation with WAL_DEBUG.
authorAndres Freund <andres@anarazel.de>
Thu, 7 Apr 2022 06:24:00 +0000 (23:24 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 7 Apr 2022 06:26:59 +0000 (23:26 -0700)
commit3536b851adb275e2f49a80030111e84abc0736ba
tree46e118303e89dff38ea233c6fd8ea3e8e9867248
parent5c279a6d350205cc98f91fb8e1d3e4442a6b25d1
Fix compilation with WAL_DEBUG.

Broke with 5c279a6d350. But looks like it had been half-broken since
70e81861fad, because 'rmid' didn't refer to the current record's rmid anymore,
but to rmid from "Initialize resource managers" - a constant.
src/backend/access/transam/xlogrecovery.c