X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtypes.c;h=5e5ef2ca7c4a75beecc1347b135898b161160843;hp=323883c778b264ab852c3c5465f650e674be694f;hb=0b9658d38885a944bd65cc1f2266c431d9bf9d92;hpb=0ca37857fc5461a939cbcea0e40ccf6247b9966a diff --git a/src/php_pqtypes.c b/src/php_pqtypes.c index 323883c..5e5ef2c 100644 --- a/src/php_pqtypes.c +++ b/src/php_pqtypes.c @@ -189,7 +189,7 @@ static PHP_METHOD(pqtypes, __construct) { } #define PHP_PQ_TYPES_QUERY \ - "select t.oid, t.* " \ + "select t.oid, t.typname, t.* " \ "from pg_type t join pg_namespace n on t.typnamespace=n.oid " \ "where typisdefined" #ifndef PHP_PQ_OID_TEXT