Re: Increase psql's password buffer size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Increase psql's password buffer size
Дата
Msg-id 9162.1582145316@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Increase psql's password buffer size  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> Attached is the patch that Nathan proposed at [1] and I think that
> it's worth applying. I'd like to add this to next CommitFest.
> Thought?

I can't get excited about this in the least.  For any "normal" use of
passwords, 100 bytes is surely far more than sufficient.  Furthermore,
if there is someone out there for whom it isn't sufficient, they're not
going to want to build custom versions of Postgres to change it.

If we think that longer passwords are actually a thing to be concerned
about, then what we need to do is change all these places to support
expansible buffers.  I'm not taking a position on whether that's worth
the trouble ... but I do take the position that just inserting a
#define is a waste of time.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: error context for vacuum to include block number
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Delaying/avoiding BTreeTupleGetNAtts() call within _bt_compare()