| От | Tom Lane |
|---|---|
| Тема | BIT/BIT VARYING status |
| Дата | |
| Msg-id | 26496.966834301@sss.pgh.pa.us обсуждение исходный текст |
| Список | pgsql-hackers |
I have made a first cut at completing integration of Adriaan Joubert's
BIT code into the backend. There are a couple little things left to
do (for example, scalarltsel doesn't know what to do with BIT values)
as well as some not-so-little things:
1. SQL92 mentions a bitwise position function, which we do not have.
2. We don't handle <bit string> and <hex string> literals correctly;
the scanner converts them into integers which seems quite at variance
with the spec's semantics.
We could solve #2 fairly easily if we don't mind breaking backwards
compatibility with existing apps that expect B'101' or X'5' to be
equivalent to 5. I'm not sure how to handle it without breaking that
compatibility. Thoughts?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера