Re: Ought binary literals to allow spaces?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ought binary literals to allow spaces?
Дата
Msg-id 6695.1582495250@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Ought binary literals to allow spaces?  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
Chapman Flack <chap@anastigmatix.net> writes:
> ISO seems to allow spaces among the digits of a binary literal, so as
> to group them for readability, as in X'00ba b10c'. We seem not to.

Hmm.  SQL99 did not allow noise spaces in <binary string literal> and
related productions, but it does look like they added that in SQL:2008.

> (The B'...' form appears to be a PostgreSQL extension, but I imagine
> if ISO had it, it would allow spaces too.)

The B'...' form was there in SQL99.  The committee took it out in
SQL:2003 or so, along with the BIT type, but we still have both.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add kqueue(2) support to the WaitEventSet API.
Следующее
От: Justin Pryzby
Дата:
Сообщение: v12 "won't fix" item regarding memory leak in "ATTACH PARTITIONwithout AEL"; (or, relcache ref counting)