mirror of
https://github.com/php/php-src.git
synced 2025-01-15 16:24:37 +08:00
21 lines
332 B
PHP
21 lines
332 B
PHP
--TEST--
|
|
Bug 73498 Incorrect DELIMITER syntax for pg_copy_to()
|
|
--SKIPIF--
|
|
<?php include("skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
include('config.inc');
|
|
|
|
$db = pg_connect($conn_str);
|
|
|
|
$rows = pg_copy_to($db, "(select * from {$view_name})");
|
|
|
|
var_dump(gettype($rows));
|
|
var_dump(count($rows) > 0);
|
|
|
|
?>
|
|
--EXPECT--
|
|
string(5) "array"
|
|
bool(true)
|