mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 20:20:30 -04:00
o Fix more style bugs in debug message. o Add internal function to postmaster which returns current replication server. o Add new packet handler to pgreplicate which returns cluster node status information. o Add check scripts for nagios. These scripts may be useful, but not intended to officially supported by me. I'll make them as another port when they become stable.
23 lines
863 B
C
23 lines
863 B
C
--- src/backend/libpq/recovery.c.orig Fri Feb 20 11:38:39 2004
|
|
+++ src/backend/libpq/recovery.c Mon Feb 23 14:44:15 2004
|
|
@@ -756,14 +756,14 @@
|
|
|
|
if (Debug_pretty_print)
|
|
{
|
|
- elog(DEBUG1,"no = %d\n",packet->packet_no);
|
|
- elog(DEBUG1,"max_connect = %d\n",packet->max_connect);
|
|
- elog(DEBUG1,"port = %d\n",packet->port);
|
|
- elog(DEBUG1,"recoveryPort = %d\n",packet->recoveryPort);
|
|
+ elog(DEBUG1,"no = %d",packet->packet_no);
|
|
+ elog(DEBUG1,"max_connect = %d",packet->max_connect);
|
|
+ elog(DEBUG1,"port = %d",packet->port);
|
|
+ elog(DEBUG1,"recoveryPort = %d",packet->recoveryPort);
|
|
if (packet->hostName != NULL)
|
|
- elog(DEBUG1,"hostName = %s\n",packet->hostName);
|
|
+ elog(DEBUG1,"hostName = %s",packet->hostName);
|
|
if (packet->pg_data != NULL)
|
|
- elog(DEBUG1,"pg_data = %s\n",packet->pg_data);
|
|
+ elog(DEBUG1,"pg_data = %s",packet->pg_data);
|
|
}
|
|
}
|
|
|