Re: BUG #1578: ::bit(n) behaves "differently" if applied to bit
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #1578: ::bit(n) behaves "differently" if applied to bit |
| Дата | |
| Msg-id | 563.1115789811@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #1578: ::bit(n) behaves "differently" if applied to bit (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: BUG #1578: ::bit(n) behaves "differently" if applied to bit
|
| Список | pgsql-bugs |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> ... Though this is slightly inconsistent in how it works with a
> bit string, it does seem the most useful approach.
Also, this is a behavior that we changed in 8.0 in response to previous
complaints. Before changing it again, I'd want to see a pretty detailed
analysis of either (1) why the previous complainers were idiots, or
(2) why this change is still compatible with what they asked for ;-)
Where relevant, comments on SQL spec compliance would help the argument
too. I don't think the spec defines any bit<->integer conversions,
but it definitely addresses the issue of converting from bit(m) to bit(n).
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера