mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
Fix pointer usage
This commit is contained in:
@@ -1451,7 +1451,7 @@ get_superuser_connection(PGconn **conn, PGconn **superuser_conn, PGconn **privil
|
|||||||
bool is_superuser;
|
bool is_superuser;
|
||||||
|
|
||||||
/* this should never happen */
|
/* this should never happen */
|
||||||
if (PQstatus(conn) != CONNECTION_OK)
|
if (PQstatus(*conn) != CONNECTION_OK)
|
||||||
{
|
{
|
||||||
log_error(_("no database connection available"));
|
log_error(_("no database connection available"));
|
||||||
exit(ERR_INTERNAL);
|
exit(ERR_INTERNAL);
|
||||||
|
|||||||
Reference in New Issue
Block a user