binary operators on integers

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: "Rob Hutton"
Дата:
Сообщение: Several questions
Следующее
От: Andreas Tille
Дата:
Сообщение: RE: Error in servlet