From: Tatsuo Ishii Date: Sat, 4 Jun 2022 04:23:22 +0000 (+0900) Subject: Revert "Enable debug1 while executing 074.bug700_memqcache_segfault." X-Git-Tag: V4_4_0_BETA1~67 X-Git-Url: http://git.postgresql.org/gitweb/static/benefitdownload/file?a=commitdiff_plain;h=7c7e422c04990cc478f17d25ce4da3308cbea145;p=pgpool2.git Revert "Enable debug1 while executing 074.bug700_memqcache_segfault." This reverts commit ce669517c946f36e1663891408ce67b90e0bf605. Now that the problem was fixed by the commit: https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=4725950d19ca81d78e3a3994f665fe9a095ddb4c those debug aid is not necessary anymore. --- diff --git a/src/protocol/pool_process_query.c b/src/protocol/pool_process_query.c index ea66ed628..bc5bafc7e 100644 --- a/src/protocol/pool_process_query.c +++ b/src/protocol/pool_process_query.c @@ -5141,9 +5141,6 @@ pool_push_pending_data(POOL_CONNECTION * backend) } num_pending_messages = pool_pending_message_get_message_num_by_backend_id(backend->db_node_id); - ereport(DEBUG1, - (errmsg("pool_push_pending_data: num_pending_messages: %d", num_pending_messages))); - num_pushed_messages = 0; for (;;) diff --git a/src/test/regression/tests/074.bug700_memqcache_segfault/test.sh b/src/test/regression/tests/074.bug700_memqcache_segfault/test.sh index a26475bae..5ad09b9f5 100755 --- a/src/test/regression/tests/074.bug700_memqcache_segfault/test.sh +++ b/src/test/regression/tests/074.bug700_memqcache_segfault/test.sh @@ -26,7 +26,6 @@ do export PGPORT=$PGPOOL_PORT echo "memory_cache_enabled = on" >> etc/pgpool.conf - echo "log_min_messages = debug1" >> etc/pgpool.conf ./startall wait_for_pgpool_startup