client_min_messages is a system parameter controlling message levels sent to the client.
client_min_messages was added in PostgreSQL 7.3.
client_min_messages can be set to one of the following values, in order of increasing amount of messages which will be generated:
Each level includes the messages of the preceding levels, i.e. it is not possible to receive messages only for a particular log level.
PANIC log levels cannot be set for
client_min_messages, as these messages will never be sent to the client.
LOG level messages have a lower "rank" for
client_min_messages than they do with
log_min_messages. The documentation does not mention a reason for this, but given that
LOG level messages can be quite frequent, it does make sense to rank them lower than more important messages.
Note that regardless of setting,
INFO level messages are always sent to the client.
The default value for
INFO level messages are always sent, even if
client_min_messages is set to a higher level: