9999dropdb.phpt 339 B

12345678910111213141516171819202122
  1. --TEST--
  2. PostgreSQL drop db
  3. --EXTENSIONS--
  4. pgsql
  5. --SKIPIF--
  6. <?php include("skipif.inc"); ?>
  7. --FILE--
  8. <?php
  9. // drop test table
  10. include('config.inc');
  11. $db = pg_connect($conn_str);
  12. pg_query($db, "DROP VIEW {$view_name}");
  13. pg_query($db, "DROP TABLE ".$table_name);
  14. @pg_query($db, "DROP TABLE ".$table_name_92);
  15. echo "OK";
  16. ?>
  17. --EXPECT--
  18. OK