Am I forgetting some limitation ? I get "ERROR: syntax error at or near "$1" at character 22" with this:
CREATE FUNCTION public.fn_b_import( text ) RETURNS void AS ' COPY b_import FROM $1 ; ' LANGUAGE 'sql' STABLE; ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster