Preston de Guise <preston@anywebdb.com> writes:
> Using Perl to program interfaces to PostgreSQL, and had previously
> misunderstood how md5 password authentication worked, so I'm now re-
> doing it, but struggling to find out how DBD::Pg might be used to
> actually authenticate by passing an md5 of the password instead of the
> real thing.
You should always pass the cleartext password. Any md5-ification will
be done by the low-level driver.
regards, tom lane