From a79084fe3caaf791f2aa8d466603c085ccb8c5af Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Wed, 9 Apr 2025 01:27:48 +0900 Subject: [PATCH v1] Rename misleading argument in pg_get_process_memory_contexts(). Previously, the third argument of pg_get_process_memory_contexts() was named retries in pg_proc.dat, even though it actually specifies a timeout value in seconds. This name was misleading to users and inconsistent with the documentation, which correctly referred to it as timeout. This commit renames the argument to timeout in pg_proc.dat to improve clarity and maintain consistency with the documentation. --- src/include/catalog/pg_proc.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat index 4708f55be18..62beb71da28 100644 --- a/src/include/catalog/pg_proc.dat +++ b/src/include/catalog/pg_proc.dat @@ -8578,7 +8578,7 @@ prorettype => 'record', proargtypes => 'int4 bool float8', proallargtypes => '{int4,bool,float8,text,text,text,_int4,int4,int8,int8,int8,int8,int8,int4,timestamptz}', proargmodes => '{i,i,i,o,o,o,o,o,o,o,o,o,o,o,o}', - proargnames => '{pid, summary, retries, name, ident, type, path, level, total_bytes, total_nblocks, free_bytes, free_chunks, used_bytes, num_agg_contexts, stats_timestamp}', + proargnames => '{pid, summary, timeout, name, ident, type, path, level, total_bytes, total_nblocks, free_bytes, free_chunks, used_bytes, num_agg_contexts, stats_timestamp}', prosrc => 'pg_get_process_memory_contexts' }, # non-persistent series generator -- 2.49.0