Thread

Commits

  1. Disallow setting client_min_messages higher than ERROR.

  1. BUG #15479: Documentation claims that client_min_messages is related to logging

    The Post Office <noreply@postgresql.org> — 2018-11-01T08:36:29Z

    The following bug has been logged on the website:
    
    Bug reference:      15479
    Logged by:          Clemens Ladisch
    Email address:      clemens@ladisch.de
    PostgreSQL version: 11.0
    Operating system:   any
    Description:        
    
    Step 1: User wants to reduce the amount of logging, looks into section
    19.8.2 "When To Log".
    Step 2: Sets "client_min_messages = fatal".
    Step 3: The server sends no ErrorResponse, so erroneous SQL statements
    appear to succeed.
    
    Example:
    <https://www.postgresql.org/message-id/flat/EE586BE92A4AFB45B03310C2A0C0565D6D0EFC17%40G01JPEXMBKW03>
    
    The problem is that client_min_messages has *no relation whatsoever* with
    the server's logging.
    This variable affects the client connection, so its documentation should be
    moved into section 19.11 "Client Connection Behaviour".
    (And the word "messages" might still be misleading; maybe use "network
    protocol messages".)
    
    
  2. Re: BUG #15479: Documentation claims that client_min_messages is related to logging

    Tom Lane <tgl@sss.pgh.pa.us> — 2018-11-08T17:24:20Z

    =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
    > The problem is that client_min_messages has *no relation whatsoever* with
    > the server's logging.
    > This variable affects the client connection, so its documentation should be
    > moved into section 19.11 "Client Connection Behaviour".
    
    Yeah, I agree.  Will do.
    
    > (And the word "messages" might still be misleading; maybe use "network
    > protocol messages".)
    
    I don't think that adds anything.
    
    			regards, tom lane