On 18.02.26 15:58, hubert depesz lubaczewski wrote:
And while I kinda undestand, create-conversion, server-encoding, I don't really*grok* why we can't have immutable conversion to bytea. And/or versions of sha* functions that simply work on text.
Hash functions fundamentally work on a sequence of bytes, so bytea is the right type. The encoding of text into bytes is complicated, so it seems better if you handle that yourself depending on the local requirements.
