Re: [SQL] bit field changes in 7.2.1

2002-07-08 Thread Kevin Brannen
Peter Eisentraut wrote: > Kevin Brannen writes: > > >>EXCEPT that now fails in 7.2.1 (I just upgraded this afternoon). It >>forces me to use "b'00'" instead of "b'0'::bit(6)". > > > Which is a problem why? Because in the real system, it will be b'0'::bit(64) or b'001::bit(64) or etc. A

Re: [SQL] bit field changes in 7.2.1

2002-07-07 Thread Peter Eisentraut
Kevin Brannen writes: > EXCEPT that now fails in 7.2.1 (I just upgraded this afternoon). It > forces me to use "b'00'" instead of "b'0'::bit(6)". Which is a problem why? > Searching thru the docs, I find a note that says: > > --- > Note: Prior to PostgreSQL 7.2, BIT type data was zero-pad

[SQL] bit field changes in 7.2.1

2002-07-03 Thread Kevin Brannen
I'm on a Linux RH 7.2 system, which came with Pg 7.1.2 (I think). When there, I prototyped some code that worked well, and looked like: create table ref_sp ( name varchar(10), sname char(1), bitmask bit(6) ); insert into ref_sp values ('one', '1', b'01'); insert into ref_sp