You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
r =connection.ExecSQL("select a.oid,c.relname,a.attname,a.atttypid,a.attnum,a.attnotnull,a.attlen from pg_class c, pg_attribute a where a.attrelid=c.oid and c.relname like '"+tableNamePattern+"' and a.attname like '"+columnNamePattern+"' and a.attnum>0 order by c.relname,a.attnum");
1852
+
r =connection.ExecSQL("select a.oid,c.relname,a.attname,a.atttypid,a.attnum,a.attnotnull,a.attlen,a.atttypmod from pg_class c, pg_attribute a where a.attrelid=c.oid and c.relname like '"+tableNamePattern+"' and a.attname like '"+columnNamePattern+"' and a.attnum>0 order by c.relname,a.attnum");
1852
1853
1853
1854
while(r.next()) {
1854
1855
byte[][]tuple =newbyte[18][0];
1855
1856
1856
1857
Stringname =r.getString(1);
1857
1858
Stringremarks =newString("no remarks");
1859
+
StringcolumnSize;
1858
1860
1859
1861
// Fetch the description for the table (if any)
1860
1862
ResultSetdr =connection.ExecSQL("select description from pg_description where objoid="+r.getInt(1));