pg_copy_from
Description
bool pg_copy_from ( resource connection, string table_name, array rows [, string delimiter [, string null_as]])pg_copy_from() insert records into a table from rows. It issues COPY FROM SQL command internally to insert records. Returns TRUE on success or FALSE on failure.
See also pg_copy_to().