Bruce Momjian <bruce@momjian.us> writes:
> I have coded up the following patch which places LOG just above ERROR in
> log_min_error_statement.
LOG_NO_STATEMENT? What *are* you thinking? The kindest word I can find
for this is "baroque".
What I had in mind was a one-line patch:
if (edata->elevel >= log_min_error_statement && debug_query_string != NULL)
becomes
if (is_log_level_output(edata->elevel, log_min_error_statement) && debug_query_string != NULL)
regards, tom lane