diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-02-25 13:47:27 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-02-25 13:47:27 +0000 |
commit | f18b1ceaea3d1b56ad15395efce4064344557ae9 (patch) | |
tree | 9b55689b9e8cf1d39f88654efc4ccfcea1eb2e30 /databases/pgcluster/files/patch-libpq:recovery.c | |
parent | Update to 0.11 (diff) |
o Fix some bugs reported on ML.
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.
Notes
Notes:
svn path=/head/; revision=102097
Diffstat (limited to 'databases/pgcluster/files/patch-libpq:recovery.c')
-rw-r--r-- | databases/pgcluster/files/patch-libpq:recovery.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/databases/pgcluster/files/patch-libpq:recovery.c b/databases/pgcluster/files/patch-libpq:recovery.c new file mode 100644 index 000000000000..74852c235408 --- /dev/null +++ b/databases/pgcluster/files/patch-libpq:recovery.c @@ -0,0 +1,23 @@ +--- 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); + } + } + |