Skip to content

Commit b0488e5

Browse files
committed
pg_upgrade: add SET log_min_error_statement = warning
Add to commit 73d78e1
1 parent 73d78e1 commit b0488e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pg_upgrade/dump.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ optionally_create_toast_tables(void)
118118
/* Suppress NOTICE output from non-existant constraints */
119119
PQclear(executeQueryOrDie(conn, "SET client_min_messages = warning;"));
120120
PQclear(executeQueryOrDie(conn, "SET log_min_messages = warning;"));
121+
PQclear(executeQueryOrDie(conn, "SET log_min_error_statement = warning;"));
121122

122123
ntups = PQntuples(res);
123124
i_nspname = PQfnumber(res, "nspname");
@@ -138,6 +139,7 @@ optionally_create_toast_tables(void)
138139

139140
PQclear(executeQueryOrDie(conn, "RESET client_min_messages;"));
140141
PQclear(executeQueryOrDie(conn, "RESET log_min_messages;"));
142+
PQclear(executeQueryOrDie(conn, "RESET log_min_error_statement;"));
141143

142144
PQfinish(conn);
143145
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy