Re: binary operators on integers - Mailing list pgsql-general

From Marko Kreen
Subject Re: binary operators on integers
Date
Msg-id 20000919102434.A8669@l-t.ee
Whole thread Raw
In response to Re: binary operators on integers  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: binary operators on integers  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Andreas Tille
Date:
Subject: Re: pgdump
Next
From: "Trewern, Ben"
Date:
Subject: RE: Re: pgdump