Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e6a7402

Browse files
committed
Add C comment why client encoding can be set in pg_upgrade.
1 parent e567c9f commit e6a7402

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/pg_upgrade/server.c

+1
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ check_for_libpq_envvars(void)
267267
{
268268
const char *value;
269269

270+
/* This allows us to see error messages in the local encoding */
270271
if (strcmp(option->envvar, "PGCLIENTENCODING") == 0)
271272
continue;
272273

0 commit comments

Comments
 (0)