Re: Ant SQL task

2010-06-03 Thread Markus Mehrwald
Sry, the sql function should be without begin and end: CREATE OR REPLACE FUNCTION make_plpgsql() RETURNS void AS $$ CREATE LANGUAGE plpgsql; $$ LANGUAGE sql; Am 04.06.2010 01:13, schrieb Markus Mehrwald: Hi, I have a problem with the ant sql task. The task always gets the following error

Ant SQL task

2010-06-03 Thread Markus Mehrwald
Hi, I have a problem with the ant sql task. The task always gets the following error: [sql] Failed to execute: CREATE OR REPLACE FUNCTION make_plpgsql() RETURNS void AS $ BEGIN CREATE LANGUAGE plpgsql With the exception: Syntaxerror at "$" The script looks like this: CREA