Re: The "char" type versus non-ASCII characters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: The "char" type versus non-ASCII characters
Дата
Msg-id 2322653.1638562404@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: The "char" type versus non-ASCII characters  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: The "char" type versus non-ASCII characters  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: The "char" type versus non-ASCII characters
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pg_dump versus ancient server versions