Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 696870 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/src/plugins/sqldrivers/psql/qsql_psql.cpp
0
++ b/src/plugins/sqldrivers/psql/qsql_psql.cpp
Lines 1440-1446 Link Here
1440
1440
1441
    QString stmt = QLatin1String("select pg_attribute.attname, pg_attribute.atttypid::int, "
1441
    QString stmt = QLatin1String("select pg_attribute.attname, pg_attribute.atttypid::int, "
1442
                                 "pg_attribute.attnotnull, pg_attribute.attlen, pg_attribute.atttypmod, "
1442
                                 "pg_attribute.attnotnull, pg_attribute.attlen, pg_attribute.atttypmod, "
1443
                                 "pg_attrdef.adsrc "
1443
                                 "pg_get_expr(pg_attrdef.adbin, pg_attrdef.adrelid) "
1444
                                 "from pg_class, pg_attribute "
1444
                                 "from pg_class, pg_attribute "
1445
                                 "left join pg_attrdef on (pg_attrdef.adrelid = "
1445
                                 "left join pg_attrdef on (pg_attrdef.adrelid = "
1446
                                 "pg_attribute.attrelid and pg_attrdef.adnum = pg_attribute.attnum) "
1446
                                 "pg_attribute.attrelid and pg_attrdef.adnum = pg_attribute.attnum) "

Return to bug 696870