Re: [INTERFACES] Re: [HACKERS] User authentication bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: M(dot)Boekhold(at)et(dot)tudelft(dot)nl
Cc: M(dot)Boekhold(at)ITS(dot)TUDelft(dot)NL, pgsql-hackers(at)postgreSQL(dot)org, pgsql-interfaces(at)postgreSQL(dot)org, pgsql-patches(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Re: [HACKERS] User authentication bug?
Date: 1998-08-02 22:40:28
Message-ID: 22433.902097628@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Maarten Boekhold <maartenb(at)dutepp0(dot)et(dot)tudelft(dot)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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1998-08-02 23:28:13 TODO item: make pg_shadow updates more robust
Previous Message Michael Graff 1998-08-02 19:54:57 Re: [PATCHES] Re: [HACKERS] User authentication bug?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-08-02 23:31:36 Re: [INTERFACES] Tcl_CreateExitHandle error
Previous Message Michael Graff 1998-08-02 19:54:57 Re: [PATCHES] Re: [HACKERS] User authentication bug?