Andrew Dunstan <andrew@dunslane.net> writes:
> From recent IRC discussion:
> . provide encode() for text values in addition to current bytea
> . proved cast from text to bytea
What would these be meant to do? In particular I'm wondering if the
proposed cast is meant to be a binary-compatible transformation (thereby
exposing encoding issues), or if it's supposed to do the same backslash
conversions as I/O would, or what.
regards, tom lane