1--TEST-- 2Bug 73498 Incorrect DELIMITER syntax for pg_copy_to() 3--EXTENSIONS-- 4pgsql 5--SKIPIF-- 6<?php include("skipif.inc"); ?> 7--FILE-- 8<?php 9 10include('config.inc'); 11 12$db = pg_connect($conn_str); 13 14$rows = pg_copy_to($db, "(select * from {$view_name})"); 15 16var_dump(gettype($rows)); 17var_dump(count($rows) > 0); 18 19?> 20--EXPECT-- 21string(5) "array" 22bool(true) 23