Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 545D19FBEBB for ; Fri, 4 May 2007 13:07:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 35847-07 for ; Fri, 4 May 2007 13:07:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by postgresql.org (Postfix) with ESMTP id 5F9B69FBEB4 for ; Fri, 4 May 2007 13:07:49 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 50so878086wri for ; Fri, 04 May 2007 09:07:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JjkF3tcZNGaYCMyylSQC08NAAGWCu3lh2hhf0hzRpEJYhWhNFdisSUY0tBhRO1KJDx/ee6jbhEArLo2gAP1ucDh8zdiLK6g5z+1ZiE9Ds1z8oTnPKfBBYEoJmbIj1AO4IM5opOD6WtVhptzwtpX9ALTJfu6JrrUiiyBfwioacD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=II2wKreWe0pnLrBIxJhMlqhuBCC4R6oJbxAinwk5nLJSRXQQZtXfM8q2e6pLvu1Mo7U8UNxBRnKb28mS2Os+7nLEGbZMA+Ss0zO1uN4pz7iZMhHuWfZVuMDYhr2d2mYqbnECMXo83pLkok7muZFMRZZ5itkKUzVu4oSAn/mtWaU= Received: by 10.78.164.9 with SMTP id m9mr1650297hue.1178294868670; Fri, 04 May 2007 09:07:48 -0700 (PDT) Received: by 10.78.191.7 with HTTP; Fri, 4 May 2007 09:07:48 -0700 (PDT) Message-ID: Date: Fri, 4 May 2007 12:07:48 -0400 From: "B. Jordan" To: pgsql-jdbc@postgresql.org Subject: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/9 X-Sequence-Number: 16999 After digging through the archives and looking at the changelog for 8.2-505 and 8.2-504, it seems that $$ should work, but I'm still getting errors. Here's the error message: Caused by: org.postgresql.util.PSQLException: ERROR: unterminated dollar-quoted string at or near "$BODY$ BEGIN DELETE FROM ..." Here's the procedure I'm trying to create (slightly altered for NDA reasons) CREATE FUNCTION schema.table( del_id INTEGER ) RETURNS BOOLEAN AS $BODY$ BEGIN DELETE FROM schema.table WHERE id = del_id; RETURN TRUE; END $BODY$ LANGUAGE plpgsql; Any particular reason I shouldn't be able to execute that with the latest version (8.2-505) of the driver? I had thought $ quotes were fixed (from the changelog: ) "Add support for parsing dollar quotes and comments. (jurka) Thanks to Michael Paesold". Any help/suggestions appreciated. Thanks, Bucky