Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id EF13A133798E for ; Wed, 10 Nov 2010 04:06:24 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 06983-04 for ; Wed, 10 Nov 2010 08:06:17 +0000 (UTC) X-Greylist: delayed 00:16:34.232544 by SQLgrey-1.7.6 Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mail.postgresql.org (Postfix) with ESMTP id 960C2133616B for ; Wed, 10 Nov 2010 04:06:17 -0400 (AST) Received: from sam.nabble.com ([192.168.236.26]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PG5R7-0002fU-BS for pgsql-jdbc@postgresql.org; Tue, 09 Nov 2010 23:49:41 -0800 Date: Tue, 9 Nov 2010 23:49:41 -0800 (PST) From: cubfi To: pgsql-jdbc@postgresql.org Message-ID: <1289375381334-3258255.post@n5.nabble.com> Subject: Inserting Fingerprint templates as varchar not as bytea type in PostgreSQL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.777 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RFC_ABUSE_POST=0.001, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201011/21 X-Sequence-Number: 21142 I am not able to insert fingerprint templates in db. I am using the datatype as varchar(4000). But when i tried with bytea type itk ok. Isn't possible to insert these templates as varchar? I have tried with varchar but its showing the illegal argument exception "\0 not allowed". -- View this message in context: http://postgresql.1045698.n5.nabble.com/Inserting-Fingerprint-templates-as-varchar-not-as-bytea-type-in-PostgreSQL-tp3258255p3258255.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.