EnterpriseDB / repmgr

A lightweight replication manager for PostgreSQL (Postgres)
https://repmgr.org/
Other
1.58k stars 252 forks source link

Fix wrong reference to connection from commit f69485c0 #865

Closed martinmarques closed 1 month ago

martinmarques commented 1 month ago

Commit f69485c0 introduced a change in how we check if the repmgr user can run checkpoints on PG15 and newer.

There was a regression in the messages where the conn passed was not declared. That is because the pointer we were using was called checkpoint_conn instead of conn.