summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/dropdb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/tests/dropdb.inc')
-rw-r--r--ext/pgsql/tests/dropdb.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pgsql/tests/dropdb.inc b/ext/pgsql/tests/dropdb.inc
new file mode 100644
index 0000000000..93f4d70789
--- /dev/null
+++ b/ext/pgsql/tests/dropdb.inc
@@ -0,0 +1,15 @@
+<?php
+// drop test table
+
+include('config.inc');
+
+// $db = pg_connect($conn_str);
+// if (pg_num_rows(pg_query($db, "SELECT * FROM ".$table_name)))
+// {
+// pg_query($db, "DROP TABLE ".$table_name);
+// }
+// pg_close($db);
+
+echo "OK";
+
+?> \ No newline at end of file