* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2003-2016 PgPool Global Development Group
+ * Copyright (c) 2003-2017 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby
/* Refuse further requests by closing listen socket */
if (child_inet_fd)
{
+#ifdef NOT_USED
pool_log("die: close listen socket");
+#endif
close(child_inet_fd);
}
close(child_unix_fd);
+#ifdef NOT_USED
if (idle == 0)
{
pool_debug("child receives smart shutdown request but it's not in idle state");
}
+#endif
break;
case SIGINT: /* fast shutdown */
child_exit(0);
break;
default:
+#ifdef NOT_USED
pool_error("die() received unknown signal: %d", sig);
+#endif
break;
}
}
POOL_CONNECTION_POOL *p = pool_connection_pool;
ConnectionInfo *info;
+#ifdef NOT_USED
pool_debug("child receives close connection request");
+#endif
for (j=0;j<pool_config->max_pool;j++, p++)
{
{
if (getpid() == mypid)
{
+#ifdef NOT_USED
pool_log("child_exit: called from pgpool main. ignored.");
+#endif
return;
}
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2003-2016 PgPool Global Development Group
+ * Copyright (c) 2003-2017 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby