This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
we shouldn't store bytes in text columns in the database #4475
Comments
A note largely for my own reference since I end up figuring this out from first principles each time I look at it: A naive reading of the documentation would have you believe that Thus:
(once the conversion to |
AFAICT the only thing that can cause
|
richvdh
added a commit
that referenced
this issue
Jan 14, 2021
I don't think there's any need to use canonicaljson here. Fixes: #4475.
richvdh
added a commit
that referenced
this issue
Jan 15, 2021
I don't think there's any need to use canonicaljson here. Fixes: #4475.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in certain places (eg, the
data
column ofpushers
), we storebytes
values in atext
column. This is a dicey thing to do: it doesn't work at all for data which isn't printable ascii, and even for that, it relies onbytea_output
being set (see #4473)The text was updated successfully, but these errors were encountered: