From e6a740284291d1ebaca42b2954eb20e09daac9b9 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 7 May 2011 22:30:35 -0400 Subject: [PATCH] Add C comment why client encoding can be set in pg_upgrade. --- contrib/pg_upgrade/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/pg_upgrade/server.c b/contrib/pg_upgrade/server.c index d6efe9af6b..224fc9642e 100644 --- a/contrib/pg_upgrade/server.c +++ b/contrib/pg_upgrade/server.c @@ -267,6 +267,7 @@ check_for_libpq_envvars(void) { const char *value; + /* This allows us to see error messages in the local encoding */ if (strcmp(option->envvar, "PGCLIENTENCODING") == 0) continue; -- 2.40.0