File: config.inc

package info (click to toggle)
php4-pgsql 3%3A4.3.10-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,776 kB
  • ctags: 349
  • sloc: sh: 8,442; ansic: 3,831; makefile: 70; awk: 70; php: 64
file content (12 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
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()

?>