From: Euler Taveira de Oliveira <euler@timbira.com>
To: Andy Grimm <agrimm@gmail.com>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6412: psql & fe-connect truncate passwords
Date: Sat, 28 Jan 2012 21:47:43 -0300
Message-ID: <4F24972F.6080904@timbira.com> (raw)
In-Reply-To: <CAEoAmOqZd6Ey6Egx3n_BMOzhHxdvWO2rE=6Z9zkt+U3D9kvgbA@mail.gmail.com>
References: <E1Rqxp2-0004Qt-PL@wrigleys.postgresql.org>
<4F242892.50403@timbira.com>
<CAEoAmOqnmJnZ5SPGM1Y1gWeO6_R7z8-u97vUMynrD3BMKMT1aA@mail.gmail.com>
<4F24437F.7080306@timbira.com>
<CAEoAmOqZd6Ey6Egx3n_BMOzhHxdvWO2rE=6Z9zkt+U3D9kvgbA@mail.gmail.com>
On 28-01-2012 18:55, Andy Grimm wrote:
> It's not uniform between the client and the server, though.
>
The server doesn't impose a hard limit for password length and AFAICS it
should not because we aim for backward compatibility.
> It sounds like you are suggesting
> that rather than increase the limit in the simple_prompt calls, you'd
> prefer to decrease the limit read from pwfile? That doesn't
> particularly help me.
>
No, I am not. So there are three concerns here: (i) increase the limit for
simple_prompt() and (ii) raise an error when we reach that limit and (iii) fix
the PasswordFromFile(). Looking at your patch, it seems to fix only (i).
> require understanding of what the real password length limit in a
> database is.
>
There is no such limit; it is stored in a text datatype.
--
Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: euler@timbira.com, agrimm@gmail.com
Subject: Re: BUG #6412: psql & fe-connect truncate passwords
In-Reply-To: <4F24972F.6080904@timbira.com>
References: <E1Rqxp2-0004Qt-PL@wrigleys.postgresql.org> <4F242892.50403@timbira.com> <CAEoAmOqnmJnZ5SPGM1Y1gWeO6_R7z8-u97vUMynrD3BMKMT1aA@mail.gmail.com> <4F24437F.7080306@timbira.com> <CAEoAmOqZd6Ey6Egx3n_BMOzhHxdvWO2rE=6Z9zkt+U3D9kvgbA@mail.gmail.com> <4F24972F.6080904@timbira.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox