The server can be configured (per session) which messages are sent to a client. "Per session" means that any client can set up the variable in the beginning of the session to the appropriate value. The setting is client_min_messages:
Controls which message levels are sent to the client. Valid values are DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1, LOG, NOTICE, WARNING, and ERROR. Each level includes all the levels that follow it. The later the level, the fewer messages are sent. The default is NOTICE. Note that LOG has a different rank here than in log_min_messages.
INFO level messages are always sent to the client.
So let the client do in the beginning of the session:
SET client_min_messages to 'DEBUG5';
and they will receive everything possible:
postgres=# select * from pg_views;
DEBUG: StartTransaction(1) name: unnamed; blockState: DEFAULT; state: INPROGRESS, xid/subid/cid: 0/1/0
DEBUG: rehashing catalog cache id 7 for pg_attribute; 257 tups, 128 buckets
DEBUG: rehashing catalog cache id 7 for pg_attribute; 513 tups, 256 buckets
DEBUG: CommitTransaction(1) name: unnamed; blockState: STARTED; state: INPROGRESS, xid/subid/cid: 0/1/0
This is totally independent from what server logs which is configured with other settings.