Re: The "char" type versus non-ASCII characters - Mailing list pgsql-hackers

From Tom Lane
Subject Re: The "char" type versus non-ASCII characters
Date
Msg-id 3777943.1639056941@sss.pgh.pa.us
Whole thread Raw
In response to Re: The "char" type versus non-ASCII characters  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: The "char" type versus non-ASCII characters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> I think we could consider char to be a single-byte bytea and use the 
> escape format of bytea for char.  That way there is some precedent and 
> we don't add yet another encoding or escape format.

Do you want to take that as far as changing backslash to print
as '\\' ?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: port conflicts when running tests concurrently on windows.
Next
From: Neha Sharma
Date:
Subject: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints