I also noticed that pg_dump contains a copy of the same

Bruce Momjian <bruce@momjian.us>

Commit: 3ac9688ae80ec6bcbb9bdafa8ef30eadc8c6dd6e
Author: Bruce Momjian <bruce@momjian.us>
Date: 1998-09-20T03:18:43Z
Releases: 7.1.1
I also noticed that pg_dump contains a copy of the same
prompt_for_password code that psql does.  We fixed psql a month or
two back to permit usernames and passwords longer than 8 characters.
I propagated the same fix into pg_dump.

Tom Lane

Files

PathChange+/−
src/bin/pg_dump/common.c modified +20 −2
src/bin/pg_dump/pg_dump.c modified +13 −10