Skip to content

Commit f196738

Browse files
committed
Add some words of caution to elog.c.
Stephen Frost, somewhat rewritten by me
1 parent 9408783 commit f196738

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy