We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d87b670 + 5adeed3 commit 892f833Copy full SHA for 892f833
NEWS
@@ -41,6 +41,10 @@ PHP NEWS
41
- PDO ODBC:
42
. Fixed missing and inconsistent error checks on SQLAllocHandle. (nielsdos)
43
44
+- PGSQL:
45
+ . Fixed typo in the array returned from pg_meta_data (extended mode).
46
+ (David Carlier)
47
+
48
- SPL:
49
. Fixed bug GH-10519 (Array Data Address Reference Issue). (Nathan Freeman)
50
ext/pgsql/pgsql.c
@@ -4243,7 +4243,7 @@ PHP_PGSQL_API zend_result php_pgsql_meta_data(PGconn *pg_link, const zend_string
4243
/* pg_type.typtype */
4244
add_assoc_bool_ex(&elem, "is base", sizeof("is base") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "b"));
4245
add_assoc_bool_ex(&elem, "is composite", sizeof("is composite") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "c"));
4246
- add_assoc_bool_ex(&elem, "is pesudo", sizeof("is pesudo") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "p"));
+ add_assoc_bool_ex(&elem, "is pseudo", sizeof("is pseudo") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "p"));
4247
/* pg_description.description */
4248
add_assoc_string_ex(&elem, "description", sizeof("description") - 1, PQgetvalue(pg_result, i, 8));
4249
}
ext/pgsql/tests/pg_meta_data_001.phpt
@@ -122,7 +122,7 @@ array(2) {
122
bool(true)
123
["is composite"]=>
124
bool(false)
125
- ["is pesudo"]=>
+ ["is pseudo"]=>
126
127
["description"]=>
128
string(0) ""
@@ -147,7 +147,7 @@ array(2) {
147
148
149
150
151
152
153
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments