Skip site navigation (1) Skip section navigation (2)

use the bit varying(n)

From: "rongcs" <rongcs(at)p5w(dot)net>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: use the bit varying(n)
Date: 2002-11-11 02:35:55
Message-ID: !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAg67kXon00xGl4QAGKbXmucKAAAAQAAAAeQBlk83rLU2V1OHbs82n6gEAAAAA@p5w.net (view raw or flat)
Thread:
Lists: pgsql-bugs
Hello,
 
when I learn how to use the varbit(n) datatype, I got the error:
 
test=# create table testdt ( b varbit(2) );
ERROR:  parser: parse error at or near "("

but can use as below :
test=# create table testdt ( b bit varying(2) );
CREATE

 
The version is:
test=# select version();
                           version                           
-------------------------------------------------------------
 PostgreSQL 7.2.3 on i686-pc-linux-gnu, compiled by GCC 2.96

 
 Let's make things better!
    RongCS(容创森)
=================================================
Post: 518028
Phone: +86-755-83231730
FAX: +86-755-83237363
Mobile: +86-13510011290
EMail: rongcs(at)p5w(dot)net,
<mailto:rongcs(at)p5w(dot)net,rongcs(at)21cn(dot)com,tritreechina(at)hotmail(dot)com>
tritreechina(at)hotmail(dot)com
Address: 中国深圳市红荔路上步工业区10栋6层
UnitName: shenzhen securities information CO.,LTD.(深圳证券信息有限公司)
 

pgsql-bugs by date

Next:From: web_adminDate: 2002-11-11 02:37:24
Subject: Get a CD
Previous:From: eleinDate: 2002-11-10 23:57:28
Subject: Re: Bug #812: can not compile 7.3b5 on Suse8.1 with perl

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group