From: Jason Bennett <jasonab@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Ant <sql> tag for dollar quoting
Date: 18 Dec 2006 13:34:22 -0800
Message-ID: <1166477662.327464.174080@73g2000cwn.googlegroups.com> (raw)
In-Reply-To: <1166470412.397706.37980@n67g2000cwd.googlegroups.com>
References: <1166470412.397706.37980@n67g2000cwd.googlegroups.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: jasonab@gmail.com
Subject: Re: Ant <sql> tag for dollar quoting
In-Reply-To: <1166477662.327464.174080@73g2000cwn.googlegroups.com>
References: <1166470412.397706.37980@n67g2000cwd.googlegroups.com> <1166477662.327464.174080@73g2000cwn.googlegroups.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox