(PHP 4 = 4.2.0) pg_copy_from() copy table from array. It return TRUE for success, otherwise FALSE. See also pg_copy_to()