summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/config.inc
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2001-12-17 00:16:48 +0000
committerYasuo Ohgaki <yohgaki@php.net>2001-12-17 00:16:48 +0000
commit9a40810c8594ebdc0958fa1ad18c235bfd8b8a03 (patch)
treeedfa3de82c9355ef479f70f12a29a7139902880b /ext/pgsql/tests/config.inc
parenta06a627394dc50fe1f344114a9f79c9964b11316 (diff)
downloadphp-git-9a40810c8594ebdc0958fa1ad18c235bfd8b8a03.tar.gz
Added test files
Diffstat (limited to 'ext/pgsql/tests/config.inc')
-rw-r--r--ext/pgsql/tests/config.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/pgsql/tests/config.inc b/ext/pgsql/tests/config.inc
new file mode 100644
index 0000000000..c31c1cadc4
--- /dev/null
+++ b/ext/pgsql/tests/config.inc
@@ -0,0 +1,12 @@
+<?php
+// These vars are used to connect db and create test table.
+// values can be set to meet your environment
+
+$conn_str = "host=localhost"; // connection string
+$table_name = "php_pgsql_test"; // test table that should be exist
+$num_test_record = 1000; // Number of records to create
+
+$table_def = "CREATE TABLE php_pgsql_test (num int, str text);"; // Test table
+$field_name = "num"; // For pg_field_num()
+
+?> \ No newline at end of file