Re: PATCH: Add uri percent-encoding for binary data

Поиск
Список
Период
Сортировка
От Arthur Zakirov
Тема Re: PATCH: Add uri percent-encoding for binary data
Дата
Msg-id 5eecb494-45d9-5def-0096-e74e343a19c2@gmail.com
обсуждение исходный текст
Ответ на PATCH: Add uri percent-encoding for binary data  (Anders Åstrand <anders@449.se>)
Список pgsql-hackers
Hello,

On 2019/10/07 16:14, Anders Åstrand wrote:
> Hello
> 
> Attached is a patch for adding uri as an encoding option for
> encode/decode. It uses what's called "percent-encoding" in rfc3986
> (https://tools.ietf.org/html/rfc3986#section-2.1).

Thank you for the patch. I'm not very familiar with rfc3986. Is it 
insist that an output should have upper case characters? If not maybe it 
is good to reuse hextbl[] (which is in encode.c) instead of adding new 
upper_hex_digits[].

Also can you correct the documentation. encode() is mentioned here:
https://www.postgresql.org/docs/current/functions-binarystring.html

-- 
Arthur



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Read Uncommitted
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Read Uncommitted