php-src/ext/pgsql/tests/11pg_metadata.phpt
Yasuo Ohgaki 4ac70c6821 Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
and pg_delete().
@ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
@ and pg_delete(). (Yasuo)
2002-04-08 01:37:38 +00:00

52 lines
703 B
PHP

--TEST--
PostgreSQL pg_metadata()
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
<?php
include("pg_metadata.inc");
?>
--EXPECT--
array(3) {
["num"]=>
array(5) {
["num"]=>
int(1)
["type"]=>
string(4) "int4"
["len"]=>
int(4)
["not null"]=>
bool(false)
["default"]=>
bool(false)
}
["str"]=>
array(5) {
["num"]=>
int(2)
["type"]=>
string(4) "text"
["len"]=>
int(-1)
["not null"]=>
bool(false)
["default"]=>
bool(false)
}
["bin"]=>
array(5) {
["num"]=>
int(3)
["type"]=>
string(5) "bytea"
["len"]=>
int(-1)
["not null"]=>
bool(false)
["default"]=>
bool(false)
}
}