pgsql: doc: Fix memory context level in pg_log_backend_memory_contexts(

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Fix memory context level in pg_log_backend_memory_contexts(
Date: 2025-04-21 05:57:12
Message-ID: E1u6k9X-0013vs-2c@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Fix memory context level in pg_log_backend_memory_contexts() example.

Commit d9e03864b6b changed the memory context level numbers shown by
pg_log_backend_memory_contexts() to be 1-based. However, the example in
the documentation was not updated and still used 0-based numbering.

This commit updates the example to match the current 1-based output.

Author: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Reviewed-by: David Rowley <drowleyml(at)gmail(dot)com>
Discussion: https://postgr.es/m/1ad6d388-1b43-400d-bec9-36d52f755f74@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/706cbed351037fb5e886815506515d1281e62d40

Modified Files
--------------
doc/src/sgml/func.sgml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-04-21 15:34:49 pgsql: MemoryContextCreate: assert parent is valid and different from n
Previous Message David Rowley 2025-04-21 01:51:08 pgsql: Fix a few more duplicate words in comments