mirror of
https://github.com/php/php-src.git
synced 2024-12-14 12:26:19 +08:00
4ac70c6821
and pg_delete(). @ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update() @ and pg_delete(). (Yasuo)
52 lines
703 B
PHP
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)
|
|
}
|
|
}
|
|
|