Răsfoiți Sursa

* GetExtendedFieldinfo, patch to fix #40300

(cherry picked from commit 5ee294f224674f2899e3d886450f892d33b0d98d)
Michaël Van Canneyt 2 ani în urmă
părinte
comite
42360426fe
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      packages/fcl-db/src/sqldb/postgres/pqconnection.pp

+ 1 - 0
packages/fcl-db/src/sqldb/postgres/pqconnection.pp

@@ -501,6 +501,7 @@ s:='';
       end;
   if (S='') then
     exit;
+  S:='select oid,typname,typtype,typcategory from pg_type where oid in ('+S+') order by oid';
   Res:=Cursor.Handle.Exec(S,False,'Error getting typeinfo');
   try
     For I:=0 to PQntuples(Res)-1 do