Re: binary operators on integers

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: binary operators on integers
Дата
Msg-id 20000919102434.A8669@l-t.ee
обсуждение исходный текст
Ответ на Re: binary operators on integers  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: binary operators on integers
Список pgsql-general
On Mon, Sep 18, 2000 at 10:17:55PM +0200, Peter Eisentraut wrote:
> Marko Kreen writes:
> > My situation: I want to implement a 'capabilities' field for
> > application server, so different bits are for different
> > capabilities.
>
> Personally, I'd say using bit fields for that is pushing it a little too
> hard. You could use shortint fields, or char(1)'s if you are not that
> concerned about space.
>
Hmm, probably you are right.

But now I am only curious: Will PostgreSQL support binary
arithmetics on ordinary integers someday or is the 'bit-string'
only way to go?

--
marko


В списке pgsql-general по дате отправления:

Предыдущее
От: Andreas Tille
Дата:
Сообщение: Re: pgdump
Следующее
От: "Trewern, Ben"
Дата:
Сообщение: RE: Re: pgdump