yazicivo wrote:
>
> But executing this procedure fails for some reason I couldn't
> understand.
>
> > SELECT public.create_bcp_fix_triggers('commsrv');
> ERROR: syntax error at or near "AS $"
> LINE 4: RETURNS "trigger" AS $bcp-fix$
> ^
>
Use an underscore (_) instead of a minus (-), i.e., $bcp_fix$.
Joe