Re: bit type external representation

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: bit type external representation
Дата
Msg-id 3D338E45.A879E40C@fourpalms.org
обсуждение исходный текст
Ответ на bit type external representation  (Thomas Lockhart <lockhart@fourpalms.org>)
Список pgsql-hackers
> for binary and hexadecimal representations. But at the moment we don't
> explicitly handle both of these cases as bit strings; the hex version is
> converted to decimal in the scanner (*really* early in the parsing
> stage) and then handled as an integer.
> It looks like our current bit string type support looks for a "B" or "X"
> embedded in the actual input string, rather than outside the quote as in
> the standard.

I should point out that this is probably for historical reasons; I'd
implemented the hex to decimal conversion way before we had bit string
support, and we didn't consolidate those features when bit strings came
along.
                  - Thomas


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: bit type external representation
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: bit type external representation