Re: encode/decode support for base64url - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: encode/decode support for base64url
Date
Msg-id 31BB7C38-5B75-4C02-BC59-73FF6331C591@yesql.se
Whole thread
List pgsql-hackers
> On 16 Jul 2026, at 15:36, David E. Wheeler <david@justatheory.com> wrote:
>
> On Jul 16, 2026, at 09:19, Daniel Gustafsson <daniel@yesql.se> wrote:
>
>> During postcommit review for the upcoming v19 release I realized that this
>> introduced a slight regression in the truncation rules for plain base64.  The
>> checks for padding must check the format to make sure it's a base64url, as per
>> the attached.
>
> +1, though it’d be nice to have a base64 variant that didn’t require trailing `=`s. Or one that could omit the
newlines.Not for now, of course. 

Pushed, thanks for review!

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: Caching a partition index's parent OID in the relcache?
Next
From: Alex Masterov
Date:
Subject: Re: Unexpected behavior after OOM errors