bit datatype in 7.2.1

Поиск
Список
Период
Сортировка
Искать

bit datatype in 7.2.1

От:
"Joseph Artsimovich" <joseph_a@mail.ru>
Дата:
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?

Re: bit datatype in 7.2.1

От:
Neil Conway <nconway@klamath.dyndns.org>
Дата:
On Fri, 26 Apr 2002 13:50:15 +0400
"Joseph Artsimovich"  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 
PGP Key ID: DB3C29FC
FAQ