aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/plan/createplan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-07-21 22:12:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-07-21 22:12:32 +0000
commit83630c88b9add09583c4cb9586e9d87ce83b3ddc (patch)
tree4ab8e2802afcc331b28d8f5141f70472b42dfc36 /src/backend/optimizer/plan/createplan.c
parent6e606074e1548a0847040f6ec789867826a4b0f9 (diff)
downloadpostgresql-83630c88b9add09583c4cb9586e9d87ce83b3ddc.tar.gz
postgresql-83630c88b9add09583c4cb9586e9d87ce83b3ddc.zip
Fix elog.c to avoid infinite recursion (leading to backend crash) when
log_min_error_statement is active and there is some problem in logging the current query string; for example, that it's too long to include in the log message without running out of memory. This problem has existed since the log_min_error_statement feature was introduced. No doubt the reason it wasn't detected long ago is that 8.2 is the first release that defaults log_min_error_statement to less than PANIC level. Per report from Bill Moran.
Diffstat (limited to 'src/backend/optimizer/plan/createplan.c')
0 files changed, 0 insertions, 0 deletions