diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-04-16 03:43:42 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-04-16 03:43:42 +0000 |
commit | 1f565b6b92e0bf24c559f68b8105a4a622db40c6 (patch) | |
tree | 03e761b0f443b54ca94d3a503df47e03d30da650 /databases/pgpool-II-22/files | |
parent | 5bff8e7bfda161127a5de38fd9210004f591218e (diff) |
- Add pgpool-II 1.0.2 after repocopy from databases/pgpool.
Notes
Notes:
svn path=/head/; revision=190063
Diffstat (limited to 'databases/pgpool-II-22/files')
-rw-r--r-- | databases/pgpool-II-22/files/patch-pool_ip.c | 18 | ||||
-rw-r--r-- | databases/pgpool-II-22/files/patch-pool_ip.h | 12 | ||||
-rw-r--r-- | databases/pgpool-II-22/files/patch-pool_process_query.c | 18 | ||||
-rw-r--r-- | databases/pgpool-II-22/files/patch-pool_type.h | 10 |
4 files changed, 18 insertions, 40 deletions
diff --git a/databases/pgpool-II-22/files/patch-pool_ip.c b/databases/pgpool-II-22/files/patch-pool_ip.c deleted file mode 100644 index b66fb3653302..000000000000 --- a/databases/pgpool-II-22/files/patch-pool_ip.c +++ /dev/null @@ -1,18 +0,0 @@ ---- pool_ip.c.orig Sat Feb 3 13:22:21 2007 -+++ pool_ip.c Tue Feb 13 17:23:39 2007 -@@ -184,6 +184,7 @@ - } - - -+#if 0 - const char * - gai_strerror(int errcode) - { -@@ -205,6 +206,7 @@ - - return hstrerror(hcode); - } -+#endif - - - /* diff --git a/databases/pgpool-II-22/files/patch-pool_ip.h b/databases/pgpool-II-22/files/patch-pool_ip.h deleted file mode 100644 index cad2862ff096..000000000000 --- a/databases/pgpool-II-22/files/patch-pool_ip.h +++ /dev/null @@ -1,12 +0,0 @@ ---- pool_ip.h.orig Fri Feb 2 00:31:59 2007 -+++ pool_ip.h Tue Feb 13 17:22:46 2007 -@@ -50,7 +50,9 @@ - char *numbits, int family); - - /* imported from PostgreSQL getaddrinfo.c */ -+#if 0 - extern const char * gai_strerror(int errcode); -+#endif - - #ifdef HAVE_IPV6 - extern void promote_v4_to_v6_addr(struct sockaddr_storage * addr); diff --git a/databases/pgpool-II-22/files/patch-pool_process_query.c b/databases/pgpool-II-22/files/patch-pool_process_query.c new file mode 100644 index 000000000000..58943765d52f --- /dev/null +++ b/databases/pgpool-II-22/files/patch-pool_process_query.c @@ -0,0 +1,18 @@ +--- pool_process_query.c.orig Mon Apr 16 12:08:40 2007 ++++ pool_process_query.c Mon Apr 16 12:09:54 2007 +@@ -3906,10 +3906,13 @@ + i, k, *kind); + pool_send_error_message(frontend, MAJOR(backend), "XX000", + "kind mismatch between backends", "", +- "check data consistency between master and secondary", __FILE__, __LINE__); ++ "check data consistency between master and other db node", __FILE__, __LINE__); + + if (pool_config->replication_stop_on_mismatch) +- return POOL_FATAL; ++ { ++ notice_backend_error(i); ++ child_exit(1); ++ } + else + return POOL_ERROR; + } diff --git a/databases/pgpool-II-22/files/patch-pool_type.h b/databases/pgpool-II-22/files/patch-pool_type.h deleted file mode 100644 index 537fd28218bf..000000000000 --- a/databases/pgpool-II-22/files/patch-pool_type.h +++ /dev/null @@ -1,10 +0,0 @@ ---- pool_type.h.orig Sat Feb 10 18:48:12 2007 -+++ pool_type.h Tue Feb 13 17:29:00 2007 -@@ -30,6 +30,7 @@ - - - #include "config.h" -+#include <sys/types.h> - #include <sys/socket.h> - - |