summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/config.inc
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-03-14 05:42:27 +0000
committer <>2013-04-03 16:25:08 +0000
commitc4dd7a1a684490673e25aaf4fabec5df138854c4 (patch)
tree4d57c44caae4480efff02b90b9be86f44bf25409 /ext/pgsql/tests/config.inc
downloadphp2-master.tar.gz
Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2.HEADphp-5.4.13master
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 0000000..2b5f05a
--- /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 dbname=test"; // 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, bin bytea);"; // Test table
+$field_name = "num"; // For pg_field_num()
+
+?> \ No newline at end of file