Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0R0vHq69339 for ; Fri, 26 Jan 2001 19:57:17 -0500 (EST) (envelope-from pgsql-sql-owner@postgresql.org) Received: from udmercy.edu (udmercy.edu [198.109.24.100]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0R03Xq63618 for ; Fri, 26 Jan 2001 19:03:33 -0500 (EST) (envelope-from brookd@udmercy.edu) Received: from [198.109.25.111] (account ) by udmercy.edu (CommuniGate Pro WebUser 3.1) with HTTP id 4507303 for ; Fri, 26 Jan 2001 19:03:30 -0500 From: "David J. R. Brook" Subject: To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.1 Date: Fri, 26 Jan 2001 19:03:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Archive-Number: 200101/402 X-Sequence-Number: 1075 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