- Mailing list pgsql-sql

From David J. R. Brook
Subject
Date
Msg-id web-4507303@udmercy.edu
Whole thread Raw
Responses Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
I'm trying to use the 'bit' and 'varbit' datatypes in a     table. The demo file 'varbit.demo.sql' runs fine but
when I     try to INSERT data into the table I get a message:
     ERROR: zpbit_in: bit string of size 8 cannot be
written into     bits(1)
     I can add data to the table through the console a la
demo     file though. I can also write one binary digit (i.e.
'B1')     using INSERT but I cannot write longer bit strings -
neither     can I find a way to make the type of the column to be
a     longer bit string. Any suggestions?
     (I get the same problem with the varbit data type)
     David Brook     Asst. Professor, Department of Chemistry and
Biochemistry     University of Detroit Mercy     ph: (313) 993-2495     fax: (313) 993-1144David Brook
Asst. Professor, Department of Chemistry and Biochemistry
University of Detroit Mercy
ph: (313) 993-2495
fax: (313) 993-1144


pgsql-sql by date:

Previous
From: "Ron Sofrin"
Date:
Subject: SQL function and composite types
Next
From: "Emils Klotins"
Date:
Subject: Re: #DELETED error when using Access 2000 as frontend