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

Commitf196738

Browse files
committed
Add some words of caution to elog.c.
Stephen Frost, somewhat rewritten by me
1 parent9408783 commitf196738

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/backend/utils/error/elog.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
* elog.c
44
* error logging and reporting
55
*
6+
* Because of the extremely high rate at which log messages can be generated,
7+
* we need to be mindful of the performance cost of obtaining any information
8+
* that may be logged. Also, it's important to keep in mind that this code may
9+
* get called from within an aborted transaction, in which case operations
10+
* such as syscache lookups are unsafe.
11+
*
612
* Some notes about recursion and errors during error processing:
713
*
814
* We need to be robust about recursive-error scenarios --- for example,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp