Re: [INTERFACES] Re: [HACKERS] User authentication bug? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [INTERFACES] Re: [HACKERS] User authentication bug?
Date
Msg-id 22433.902097628@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] User authentication bug?  (Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>)
Responses Re: [INTERFACES] Re: [HACKERS] User authentication bug?  (Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>)
Re: [INTERFACES] Re: [HACKERS] User authentication bug?  (Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>)
List pgsql-hackers
Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl> writes:
> On Sat, 1 Aug 1998, Tom Lane wrote:
>> It's possible that there are still bogus length limits on username
>> or password in some of the other PostgreSQL user interfaces besides
>> psql/libpq.  I will leave it to other folks to check that code.

> I think the perl-module behaves the same, but I'm not totally sure about
> it. I have a script where passing a 9 chars username to PQconnectdb()
> fails to connect to a backend, while if I truncate the username to 8
> chars it works.

Hmm.  What pgsql version are you using?  A quick glance at
src/interfaces/perl5 doesn't show any dependencies on username or
password length in it --- it's just a very simple wrapper for libpq.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Michael Graff
Date:
Subject: Re: [PATCHES] Re: [HACKERS] User authentication bug?
Next
From: Tom Lane
Date:
Subject: TODO item: make pg_shadow updates more robust