Hi,

I got myself pg_bulkload installed. I can use it from the command line, but i need to use it from inside a stored procedure.

But the problem is that i don't know how to use the function. The function is defined as below:
Code:
CREATE OR REPLACE FUNCTION pg_bulkload(IN options text[], OUT skip bigint, OUT count bigint, OUT parse_errors bigint, OUT duplicate_new bigint, OUT duplicate_old bigint, OUT system_time double precision, OUT user_time double precision, OUT duration double precision, OUT messages text)
RETURNS record AS
'$libdir/pg_bulkload', 'pg_bulkload'
LANGUAGE c VOLATILE STRICT
COST 1;
Does anyone has experience with the use of this function?

Thanks! Depress