Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4FEvGA41866 for ; Tue, 15 May 2001 10:57:16 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f4FEVUj60124 for pgsql-sql@postgresql.org; Tue, 15 May 2001 10:31:30 -0400 (EDT) (envelope-from news) From: "Laurent Duperval" X-Newsgroups: comp.databases.postgresql.sql Subject: varbit question Date: Tue, 15 May 2001 10:31:12 -0400 Organization: Microcell I5 Lines: 24 Message-ID: <9drek0$1qmo$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: scrappy@hub.org User-Agent: Pan/0.9.7_cvs (Unix) X-No-Productlinks: Yes To: pgsql-sql@postgresql.org X-Archive-Number: 200105/148 X-Sequence-Number: 2965 Hi, I thought I posted this but I don't see it on the server so let's try again: I have an Oracle script that I want to convert to pgsql. I've got a sed script that does most of the mappings but it doesn't look like raw is supported. In the docs, there is mention of varbit(n) but if I use the (n) argument, the script fails. I can only use varbit alone. How do I get around that? Also, will ResultSet.getBytes() (I'm talking Java here) return an array of bytes with a field defined as varbit? How large will the field be? Thanks, L -- Laurent Duperval Voisin, vous seriez une vraie lumière... si on avait ouvert l'interrupteur. -Lefuneste