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