Fix compilation with WAL_DEBUG.

Andres Freund <andres@anarazel.de>

Commit: 3536b851adb275e2f49a80030111e84abc0736ba
Author: Andres Freund <andres@anarazel.de>
Date: 2022-04-07T06:26:59Z
Releases: 15.0
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.

Files

PathChange+/−
src/backend/access/transam/xlogrecovery.c modified +2 −2