Oznámení pro klienta můžete ztišit z libovolného příkazu s místním nastavením pro client_min_messages
:
SET LOCAL client_min_messages=warning; -- "debug" would have opposite effect
DROP TABLE if exists t_xy;
RESET client_min_messages=warning; -- may or may not be needed
Pokud nevydáte RESET
účinně umlčíte upozornění po zbytek transakce.
Případně můžete také nastavit client_min_messages
za volání z příkazového řádku: