From: David J. R. Brook <brookd@udmercy.edu>
To: pgsql-sql@postgresql.org
Date: Fri, 26 Jan 2001 19:03:30 -0500
Message-ID: <web-4507303@udmercy.edu> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: brookd@udmercy.edu
Subject: Re:
In-Reply-To: <web-4507303@udmercy.edu>
References: <web-4507303@udmercy.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox