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