(PHP 4 = 4.2.0) pg_copy_to() copy table to array. The result array is returned if it success to copy. Otherwise it returns FALSE. See also pg_copy_from()