X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pqtypes.c;h=f515f0f12e2c34d1bdb5168e3eb339ce74f053b5;hb=e9eb250ea05ce89b550bc84fa7f3434960f139a8;hp=8fd12e064e26e4ab92a0859e49a4af0c1f7a7116;hpb=9841e1083e609ada4257bc519cfb33fd463f1824;p=m6w6%2Fext-pq diff --git a/src/php_pqtypes.c b/src/php_pqtypes.c index 8fd12e0..f515f0f 100644 --- a/src/php_pqtypes.c +++ b/src/php_pqtypes.c @@ -181,8 +181,7 @@ static PHP_METHOD(pqtypes, __construct) { #define PHP_PQ_TYPES_QUERY \ "select t.oid, t.* " \ "from pg_type t join pg_namespace n on t.typnamespace=n.oid " \ - "where typisdefined " \ - "and typrelid=0" + "where typisdefined" #ifndef PHP_PQ_OID_TEXT # define PHP_PQ_OID_TEXT 25 #endif