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
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