mirror of
https://github.com/php/php-src.git
synced 2025-01-15 16:24:37 +08:00
21 lines
319 B
PHP
21 lines
319 B
PHP
--TEST--
|
|
PostgreSQL drop db
|
|
--SKIPIF--
|
|
<?php include("skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
// drop test table
|
|
|
|
include('config.inc');
|
|
|
|
$db = pg_connect($conn_str);
|
|
pg_query($db, "DROP VIEW {$view_name}");
|
|
pg_query($db, "DROP TABLE ".$table_name);
|
|
@pg_query($db, "DROP TABLE ".$table_name_92);
|
|
|
|
echo "OK";
|
|
|
|
?>
|
|
--EXPECT--
|
|
OK
|