mirror of
https://github.com/postgres/postgres.git
synced 2026-03-11 02:34:28 -04:00
pg_upgrade: add SET log_min_error_statement = warning
Add to commit 73d78e11a0
This commit is contained in:
parent
73d78e11a0
commit
b0488e5c4f
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue