Re: Ant tag for dollar quoting - Mailing list pgsql-jdbc

From Jason Bennett
Subject Re: Ant tag for dollar quoting
Date
Msg-id 1166477662.327464.174080@73g2000cwn.googlegroups.com
Whole thread Raw
In response to Ant tag for dollar quoting  ("Jason Bennett" <jasonab@gmail.com>)
List pgsql-jdbc
Finally figured this one out.

Ant eats double-$$ as part of its variable processing. You have to use
$BODY$ (or similar) in the stored procs, and put the delimiter on its
own line (with delimitertype="row"). Ant will cooperate then.


Jason Bennett wrote:
> With the new JDBC driver out, I was hopeful I could finally load my
> entire database through my build file, using the <sql> tag.
> Unfortunately, someone is still eating one of the $ marks, causing an
> error.


pgsql-jdbc by date:

Previous
From: "Jason Bennett"
Date:
Subject: Ant tag for dollar quoting
Next
From: "Roman Chervotkin"
Date:
Subject: The column name x was not found in this ResultSet