pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedAnt <sql> tag for dollar quoting
2+ messages / 1 participants
[nested] [flat]
* Ant <sql> tag for dollar quoting
@ 2006-12-18 19:33 Jason Bennett <jasonab@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Jason Bennett @ 2006-12-18 19:33 UTC (permalink / raw)
To: pgsql-jdbc
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.
I've already tried turning off escapeprocessing and turning on
keepformat, but nothing changed. Has anyone else had any success?
jason
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Ant <sql> tag for dollar quoting
@ 2006-12-18 21:34 Jason Bennett <jasonab@gmail.com>
parent: Jason Bennett <jasonab@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jason Bennett @ 2006-12-18 21:34 UTC (permalink / raw)
To: 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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-12-18 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18 19:33 Ant <sql> tag for dollar quoting Jason Bennett <jasonab@gmail.com>
2006-12-18 21:34 ` Jason Bennett <jasonab@gmail.com>
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