summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/11pg_meta_data.phpt
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2014-02-17 06:19:47 +0900
committerYasuo Ohgaki <yohgaki@php.net>2014-02-17 06:23:52 +0900
commit862e4bdf5204778d4a5dc08e347be7513714732a (patch)
treec2a44187caa87188c7763a39126fcb0820b990ef /ext/pgsql/tests/11pg_meta_data.phpt
parenta2928ea32c180a70cea861ce4a7631bf82641aac (diff)
downloadphp-git-862e4bdf5204778d4a5dc08e347be7513714732a.tar.gz
Implement FR #41146 - Add "description" with exteneded flag pg_meta_data().
pg_meta_data(resource $conn, string $table [, bool extended]) It also made pg_meta_data() return "is enum" always.
Diffstat (limited to 'ext/pgsql/tests/11pg_meta_data.phpt')
-rw-r--r--ext/pgsql/tests/11pg_meta_data.phpt12
1 files changed, 9 insertions, 3 deletions
diff --git a/ext/pgsql/tests/11pg_meta_data.phpt b/ext/pgsql/tests/11pg_meta_data.phpt
index a7f8ed47fc..5374ccb619 100644
--- a/ext/pgsql/tests/11pg_meta_data.phpt
+++ b/ext/pgsql/tests/11pg_meta_data.phpt
@@ -17,7 +17,7 @@ var_dump($meta);
--EXPECT--
array(3) {
["num"]=>
- array(6) {
+ array(7) {
["num"]=>
int(1)
["type"]=>
@@ -30,9 +30,11 @@ array(3) {
bool(false)
["array dims"]=>
int(0)
+ ["is enum"]=>
+ bool(false)
}
["str"]=>
- array(6) {
+ array(7) {
["num"]=>
int(2)
["type"]=>
@@ -45,9 +47,11 @@ array(3) {
bool(false)
["array dims"]=>
int(0)
+ ["is enum"]=>
+ bool(false)
}
["bin"]=>
- array(6) {
+ array(7) {
["num"]=>
int(3)
["type"]=>
@@ -60,5 +64,7 @@ array(3) {
bool(false)
["array dims"]=>
int(0)
+ ["is enum"]=>
+ bool(false)
}
}