agora inbox for pgpool-committers@postgresql.org  
help / color / mirror / Atom feed
pgpool: Fix memqcache_stats_start_time shown in "show pool_status".
6+ messages / 1 participants
[nested] [flat]

* pgpool: Fix memqcache_stats_start_time shown in "show pool_status".
@ 2025-12-02 10:53 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2025-12-02 10:53 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix memqcache_stats_start_time shown in "show pool_status".

get_config() uses ctime() to generate printable form of
memqcache_stats_start_time. But it did not take into account that
ctime() adds newline at the end of result. As a result, not only the
output of memqcache_stats_start_time was with unnecessary newline but
next row printed empty items.

Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org
Backpatch-through: v4.3

Branch
------
V4_3_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6dcd79a4addfc02ca0483e6f6f1edf9a99551...

Modified Files
--------------
src/utils/pool_process_reporting.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix memqcache_stats_start_time shown in "show pool_status".
@ 2025-12-02 10:53 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2025-12-02 10:53 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix memqcache_stats_start_time shown in "show pool_status".

get_config() uses ctime() to generate printable form of
memqcache_stats_start_time. But it did not take into account that
ctime() adds newline at the end of result. As a result, not only the
output of memqcache_stats_start_time was with unnecessary newline but
next row printed empty items.

Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org
Backpatch-through: v4.3

Branch
------
V4_4_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3323a37548b068d8143a0eec9dae73914cfd6...

Modified Files
--------------
src/utils/pool_process_reporting.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix memqcache_stats_start_time shown in "show pool_status".
@ 2025-12-02 10:53 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2025-12-02 10:53 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix memqcache_stats_start_time shown in "show pool_status".

get_config() uses ctime() to generate printable form of
memqcache_stats_start_time. But it did not take into account that
ctime() adds newline at the end of result. As a result, not only the
output of memqcache_stats_start_time was with unnecessary newline but
next row printed empty items.

Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org
Backpatch-through: v4.3

Branch
------
V4_5_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=65fa2183f133a5bada0321bc835b47831ee0b...

Modified Files
--------------
src/utils/pool_process_reporting.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix memqcache_stats_start_time shown in "show pool_status".
@ 2025-12-02 10:53 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2025-12-02 10:53 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix memqcache_stats_start_time shown in "show pool_status".

get_config() uses ctime() to generate printable form of
memqcache_stats_start_time. But it did not take into account that
ctime() adds newline at the end of result. As a result, not only the
output of memqcache_stats_start_time was with unnecessary newline but
next row printed empty items.

Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org
Backpatch-through: v4.3

Branch
------
V4_6_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c8865c7030811a051852ab80d4f0b99a66e26...

Modified Files
--------------
src/utils/pool_process_reporting.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix memqcache_stats_start_time shown in "show pool_status".
@ 2025-12-02 10:58 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2025-12-02 10:58 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix memqcache_stats_start_time shown in "show pool_status".

get_config() uses ctime() to generate printable form of
memqcache_stats_start_time. But it did not take into account that
ctime() adds newline at the end of result. As a result, not only the
output of memqcache_stats_start_time was with unnecessary newline but
next row printed empty items.

Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org
Backpatch-through: v4.3

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=331a3b37b1141adeb3b9d565e120e7a42d2db...

Modified Files
--------------
src/utils/pool_process_reporting.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix memqcache_stats_start_time shown in "show pool_status".
@ 2025-12-02 11:00 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2025-12-02 11:00 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix memqcache_stats_start_time shown in "show pool_status".

get_config() uses ctime() to generate printable form of
memqcache_stats_start_time. But it did not take into account that
ctime() adds newline at the end of result. As a result, not only the
output of memqcache_stats_start_time was with unnecessary newline but
next row printed empty items.

Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://www.postgresql.org/message-id/20251130.102712.131456481338876013.ishii%40postgresql.org
Backpatch-through: v4.3

Branch
------
V4_7_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=5863120dfc336d48e9ec58ff20fe1f672456d...

Modified Files
--------------
src/utils/pool_process_reporting.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2025-12-02 11:00 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-12-02 10:53 pgpool: Fix memqcache_stats_start_time shown in "show pool_status". Tatsuo Ishii <ishii@postgresql.org>
2025-12-02 10:53 pgpool: Fix memqcache_stats_start_time shown in "show pool_status". Tatsuo Ishii <ishii@postgresql.org>
2025-12-02 10:53 pgpool: Fix memqcache_stats_start_time shown in "show pool_status". Tatsuo Ishii <ishii@postgresql.org>
2025-12-02 10:53 pgpool: Fix memqcache_stats_start_time shown in "show pool_status". Tatsuo Ishii <ishii@postgresql.org>
2025-12-02 10:58 pgpool: Fix memqcache_stats_start_time shown in "show pool_status". Tatsuo Ishii <ishii@postgresql.org>
2025-12-02 11:00 pgpool: Fix memqcache_stats_start_time shown in "show pool_status". Tatsuo Ishii <ishii@postgresql.org>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox