Skip to content
Snippets Groups Projects
Commit f1967385 authored by Robert Haas's avatar Robert Haas
Browse files

Add some words of caution to elog.c.

Stephen Frost, somewhat rewritten by me
parent 9408783a
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
* elog.c * elog.c
* error logging and reporting * error logging and reporting
* *
* Because of the extremely high rate at which log messages can be generated,
* we need to be mindful of the performance cost of obtaining any information
* that may be logged. Also, it's important to keep in mind that this code may
* get called from within an aborted transaction, in which case operations
* such as syscache lookups are unsafe.
*
* Some notes about recursion and errors during error processing: * Some notes about recursion and errors during error processing:
* *
* We need to be robust about recursive-error scenarios --- for example, * We need to be robust about recursive-error scenarios --- for example,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment