/*
Testing function creation through Phing PDO task
*/

SET client_encoding = 'UTF8';
SET client_min_messages = warning;
SET search_path = public, pg_catalog;

CREATE FUNCTION phingPDOtest() RETURNS "trigger"
    AS $_X$
if (1)
{
    # All is well - just continue
    return;
}
else
{
    # Not good - this is probably a fatal error!
    elog(ERROR,"True is not true");
    return "SKIP";
}
$_X$
    LANGUAGE plperl;

