Re: The "char" type versus non-ASCII characters
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Chapman Flack <chap@anastigmatix.net>, pgsql-hackers@lists.postgresql.org
Date: 2021-12-03T20:13:24Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes: > On 12/3/21 14:42, Tom Lane wrote: >> Right, I envisioned that ASCII behaves the same but we'd use >> a numeric representation for high-bit-set values. These >> cases could be told apart fairly easily by charin(), since >> the numeric representation would always be three digits. > OK, this seems the most attractive. Can we also allow 2 hex digits? I think we should pick one base and stick to it. I don't mind hex if you have a preference for that. regards, tom lane
Commits
-
Change type "char"'s I/O format for non-ASCII characters.
- ec62ce55a813 16.0 landed
- c034b629cc6f 15.0 landed