Content-Length: 270251 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b0488e5c4fbfdce8acc989bdc17d9f0ec09ac281

65 pg_upgrade: add SET log_min_error_statement = warning · postgrespro/postgres_cluster@b0488e5 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b0488e5c4fbfdce8acc989bdc17d9f0ec09ac281

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy