diff options
| author | Marcus Boerger <helly@php.net> | 2003-05-20 00:14:46 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-05-20 00:14:46 +0000 |
| commit | daded6e633a57a499a11fb97e417d063cc803058 (patch) | |
| tree | 0911a0c4dba0091bbfde6fc4a1bafbd55e8c1291 /ext/pgsql/tests/11pg_meta_data.phpt | |
| parent | 4a113728053fdd17c8ab59f323c7d62881f087a1 (diff) | |
| download | php-git-daded6e633a57a499a11fb97e417d063cc803058.tar.gz | |
Reorganized tests
Diffstat (limited to 'ext/pgsql/tests/11pg_meta_data.phpt')
| -rw-r--r-- | ext/pgsql/tests/11pg_meta_data.phpt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/pgsql/tests/11pg_meta_data.phpt b/ext/pgsql/tests/11pg_meta_data.phpt index 85e2d2cf07..5726bb3128 100644 --- a/ext/pgsql/tests/11pg_meta_data.phpt +++ b/ext/pgsql/tests/11pg_meta_data.phpt @@ -4,7 +4,15 @@ PostgreSQL pg_metadata() <?php include("skipif.inc"); ?> --FILE-- <?php -include("pg_meta_data.inc"); +error_reporting(E_ALL); + +include 'config.inc'; + +$db = pg_connect($conn_str); + +$meta = pg_meta_data($db, $table_name); + +var_dump($meta); ?> --EXPECT-- array(3) { |
