| От | Maurice Balick |
|---|---|
| Тема | bitwise logical operators |
| Дата | |
| Msg-id | 3AAE803B.2010107@smiley.com обсуждение исходный текст |
| Ответы |
Re: bitwise logical operators
|
| Список | pgsql-general |
Hello, I've found one old request in the archives about providing bitwise AND on integer types and nothing but the obvious 'modulo soup' answer. I couldn't find anything in the TODO list either. Is there any plan to add bitwise logical operators to Postgres? Or is there a good reason never to have it? Using 32 boolean columns instead of a single integer flag set seems very expensive - especially when you end up loading the flags into an integer on the client side. A 20/80 solution in my case would be a function to perform bitwise AND on two integers. Thanks. --Maurice
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера