X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 730513A4B23 for ; Fri, 29 Oct 2004 12:46:57 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83642-03 for ; Fri, 29 Oct 2004 11:46:50 +0000 (GMT) Received: from eeyore.sebster.com (home.sebster.com [80.126.244.3]) by svr1.postgresql.org (Postfix) with SMTP id 0AAB73A4B05 for ; Fri, 29 Oct 2004 12:46:52 +0100 (BST) Received: (qmail 91200 invoked by uid 1000); 29 Oct 2004 11:46:46 -0000 Date: Fri, 29 Oct 2004 13:46:46 +0200 From: Sebastiaan van Erk To: pgsql-jdbc@postgresql.org Subject: Re: \0 and IllegalArgumentException Message-ID: <20041029114646.GD4199@sebster.com> References: <1099043710.595.50.camel@localhost> <4182225F.9010804@opencloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4182225F.9010804@opencloud.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/306 X-Sequence-Number: 11411 I just tested pg74.215.jdbc3.jar which I just downloaded from the jdbc.postgresql.org site, and it still gives me the IllegalArgumentException. Happy to know it has been fixed in the latest development version. Greetings, Sebastiaan van Erk Oliver Jowett wrote: > Sebastiaan van Erk wrote: > > >I'm using postgres 7.4 with the latest JDBC driver, [...] > > >java.lang.IllegalArgumentException: \0 not allowed > > Please check your driver version. The latest development driver throws > SQLException in this case: > > >>throw new PSQLException(GT.tr("Zero bytes may not occur in string > >>parameters."), PSQLState.INVALID_PARAMETER_VALUE); > > -O > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)