mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
pg_upgrade: add SET log_min_error_statement = warning
Add to commit 73d78e11a0
This commit is contained in:
@ -118,6 +118,7 @@ optionally_create_toast_tables(void)
|
||||
/* Suppress NOTICE output from non-existant constraints */
|
||||
PQclear(executeQueryOrDie(conn, "SET client_min_messages = warning;"));
|
||||
PQclear(executeQueryOrDie(conn, "SET log_min_messages = warning;"));
|
||||
PQclear(executeQueryOrDie(conn, "SET log_min_error_statement = warning;"));
|
||||
|
||||
ntups = PQntuples(res);
|
||||
i_nspname = PQfnumber(res, "nspname");
|
||||
@ -138,6 +139,7 @@ optionally_create_toast_tables(void)
|
||||
|
||||
PQclear(executeQueryOrDie(conn, "RESET client_min_messages;"));
|
||||
PQclear(executeQueryOrDie(conn, "RESET log_min_messages;"));
|
||||
PQclear(executeQueryOrDie(conn, "RESET log_min_error_statement;"));
|
||||
|
||||
PQfinish(conn);
|
||||
}
|
||||
|
Reference in New Issue
Block a user