Re: binary operators on integers

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: binary operators on integers
Date: 2000-09-19 08:24:34
Message-ID: 20000919102434.A8669@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Trewern, Ben 2000-09-19 08:42:51 RE: Re: pgdump
Previous Message Andreas Tille 2000-09-19 08:17:39 Re: pgdump