From: Bruce Momjian Date: Sun, 8 May 2011 02:30:35 +0000 (-0400) Subject: Add C comment why client encoding can be set in pg_upgrade. X-Git-Tag: REL9_1_BETA2~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6a740284291d1ebaca42b2954eb20e09daac9b9;p=postgresql Add C comment why client encoding can be set in pg_upgrade. --- 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;