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: !~! (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
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) );

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

 Let's make things better!
Post: 518028
Phone: +86-755-83231730
FAX: +86-755-83237363
Mobile: +86-13510011290
EMail: rongcs(at)p5w(dot)net,
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-2017 The PostgreSQL Global Development Group