Re: Error in calculating length of encoded base64 string

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error in calculating length of encoded base64 string
Дата
Msg-id 310915.1686291225@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Error in calculating length of encoded base64 string  (Gurjeet Singh <gurjeet@singh.im>)
Ответы Re: Error in calculating length of encoded base64 string  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Re: Error in calculating length of encoded base64 string  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Gurjeet Singh <gurjeet@singh.im> writes:
> On Thu, Jun 8, 2023 at 7:35 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> This bug is very ancient, dating to commit 79d78bb26 which
>> added encode.c.  (The other instances were presumably copied
>> from there.)  Still, it doesn't quite seem worth back-patching.

> Is it worth investing time in trying to unify these 3 occurrences of
> base64 length (and possibly other relevant) code to one place? If yes,
> I can volunteer for it.

I wondered about that too.  It seems really silly that we made
a copy in src/common and did not replace the others with calls
to that.

            regards, tom lane



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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: Error in calculating length of encoded base64 string
Следующее
От: Gregory Smith
Дата:
Сообщение: Re: Major pgbench synthetic SELECT workload regression, Ubuntu 23.04+PG15