summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/result.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/tests/result.inc')
-rw-r--r--ext/pgsql/tests/result.inc21
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/pgsql/tests/result.inc b/ext/pgsql/tests/result.inc
deleted file mode 100644
index 6982a84493..0000000000
--- a/ext/pgsql/tests/result.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-error_reporting(E_ALL);
-
-include 'config.inc';
-
-$db = pg_connect($conn_str);
-
-$sql = "SELECT * FROM $table_name";
-$result = pg_query($db, $sql) or die('Cannot qeury db');
-$rows = pg_num_rows($result);
-
-$rec = pg_fetch_object($result, 1);
-var_dump($rec);
-$rec = pg_fetch_array($result, 1);
-var_dump($rec);
-$rec = pg_fetch_row($result, 1);
-var_dump($rec);
-
-echo "Ok\n";
-
-?> \ No newline at end of file