Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit706cbed

Browse files
committed
doc: Fix memory context level in pg_log_backend_memory_contexts() example.
Commitd9e0386 changed the memory context level numbers shown bypg_log_backend_memory_contexts() to be 1-based. However, the example inthe 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
1 parent78eda9e commit706cbed

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28922,16 +28922,16 @@ One message for each memory context will be logged. For example:
2892228922
<screen>
2892328923
LOG: logging memory contexts of PID 10377
2892428924
STATEMENT: SELECT pg_log_backend_memory_contexts(pg_backend_pid());
28925-
LOG: level:0; TopMemoryContext: 80800 total in 6 blocks; 14432 free (5 chunks); 66368 used
28926-
LOG: level:1; pgstat TabStatusArray lookup hash table: 8192 total in 1 blocks; 1408 free (0 chunks); 6784 used
28927-
LOG: level:1; TopTransactionContext: 8192 total in 1 blocks; 7720 free (1 chunks); 472 used
28928-
LOG: level:1; RowDescriptionContext: 8192 total in 1 blocks; 6880 free (0 chunks); 1312 used
28929-
LOG: level:1; MessageContext: 16384 total in 2 blocks; 5152 free (0 chunks); 11232 used
28930-
LOG: level:1; Operator class cache: 8192 total in 1 blocks; 512 free (0 chunks); 7680 used
28931-
LOG: level:1; smgr relation table: 16384 total in 2 blocks; 4544 free (3 chunks); 11840 used
28932-
LOG: level:1; TransactionAbortContext: 32768 total in 1 blocks; 32504 free (0 chunks); 264 used
28925+
LOG: level:1; TopMemoryContext: 80800 total in 6 blocks; 14432 free (5 chunks); 66368 used
28926+
LOG: level:2; pgstat TabStatusArray lookup hash table: 8192 total in 1 blocks; 1408 free (0 chunks); 6784 used
28927+
LOG: level:2; TopTransactionContext: 8192 total in 1 blocks; 7720 free (1 chunks); 472 used
28928+
LOG: level:2; RowDescriptionContext: 8192 total in 1 blocks; 6880 free (0 chunks); 1312 used
28929+
LOG: level:2; MessageContext: 16384 total in 2 blocks; 5152 free (0 chunks); 11232 used
28930+
LOG: level:2; Operator class cache: 8192 total in 1 blocks; 512 free (0 chunks); 7680 used
28931+
LOG: level:2; smgr relation table: 16384 total in 2 blocks; 4544 free (3 chunks); 11840 used
28932+
LOG: level:2; TransactionAbortContext: 32768 total in 1 blocks; 32504 free (0 chunks); 264 used
2893328933
...
28934-
LOG: level:1; ErrorContext: 8192 total in 1 blocks; 7928 free (3 chunks); 264 used
28934+
LOG: level:2; ErrorContext: 8192 total in 1 blocks; 7928 free (3 chunks); 264 used
2893528935
LOG: Grand total: 1651920 bytes in 201 blocks; 622360 free (88 chunks); 1029560 used
2893628936
</screen>
2893728937
If there are more than 100 child contexts under the same parent, the first

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp