| От | Marko Kreen |
|---|---|
| Тема | binary operators on integers |
| Дата | |
| Msg-id | 20000918155028.A1835@l-t.ee обсуждение исходный текст |
| Ответы |
Re: binary operators on integers
|
| Список | pgsql-general |
I want to do simple and/or/xor/test operations on integers but PostgreSQL seems not to support this. I found in conrib area the 'bit' package, which supports 'SQL-compliant bitstrings' but this is too weird for me and anyway it crashes too. So, my question 'How can I do this?' Is there any plans to implement those operators for integer types, or good reasons why they cannot be implemented? Should I try to implement those myself or start debugging the 'bit' package? My situation: I want to implement a 'capabilities' field for application server, so different bits are for different capabilities. TIA. -- marko
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера