doc: Fix memory context level in pg_log_backend_memory_contexts() example.
authorFujii Masao <fujii@postgresql.org>
Mon, 21 Apr 2025 05:53:25 +0000 (14:53 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 21 Apr 2025 05:53:25 +0000 (14:53 +0900)
commit706cbed351037fb5e886815506515d1281e62d40
treeeb285c8774429b78481039efbf08f55f5c80f217
parent78eda9e2648ab3f8c0df0d4aca53eb0ad6399c59
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.fujii@gmail.com>
Reviewed-by: David Rowley <drowleyml@gmail.com>
Discussion: https://postgr.es/m/1ad6d388-1b43-400d-bec9-36d52f755f74@oss.nttdata.com
doc/src/sgml/func.sgml