File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / pgsql / tests / config.inc
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:47:59 2012 UTC (12 years, 4 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_17p0, v5_4_17, v5_3_10, HEAD
php

<?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()

?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>