Re: bit datatype in 7.2.1 - Mailing list pgsql-general

From Neil Conway
Subject Re: bit datatype in 7.2.1
Date
Msg-id 20020426124746.6e9976f8.nconway@klamath.dyndns.org
Whole thread Raw
In response to bit datatype in 7.2.1  ("Joseph Artsimovich" <joseph_a@mail.ru>)
List pgsql-general
On Fri, 26 Apr 2002 13:50:15 +0400
"Joseph Artsimovich" <joseph_a@mail.ru> wrote:
> Hi,
>
> I've upgraded from 7.1.3 to 7.2.1 and now I'm having problems with
> the bit datatype. I used to do '0'::bit(20) to save some typing, but
> it does not work anymore:
> ERROR:  bit string length does not match type bit(20)
>
> Is there a way to do it in version 7.2.1?

Perhaps using BIT VARYING? See section 3.9 of the User's Guide.

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC

pgsql-general by date:

Previous
From: "Roderick A. Anderson"
Date:
Subject: PG back-ended, Web based, QUIZ app.
Next
From: Andrew Gould
Date:
Subject: Re: requesting features in PostgreSQL