pg_copy_to
    (PHP 4 >= 4.2.0)
pg_copy_to -- 
     Copy a table to an array
    
Description
int 
pg_copy_to ( int connection, string table_name [, string delimiter [, string null_as]])
     pg_copy_to() copies a table to an array. The
     resulting array is returned. It returns FALSE on failure.
    
     See also pg_copy_from()