mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
fix precise builds
This commit is contained in:
parent
d9ef1dc1c9
commit
05768309a0
@ -632,6 +632,15 @@ QString QgsPostgresProvider::endianString()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
struct PGTypeInfo
|
||||
{
|
||||
QString typeName;
|
||||
QString typeType;
|
||||
QString typeElem;
|
||||
int typeLen;
|
||||
};
|
||||
|
||||
bool QgsPostgresProvider::loadFields()
|
||||
{
|
||||
if ( !mIsQuery )
|
||||
@ -660,14 +669,6 @@ bool QgsPostgresProvider::loadFields()
|
||||
sql = "SELECT oid,typname,typtype,typelem,typlen FROM pg_type";
|
||||
QgsPostgresResult typeResult = connectionRO()->PQexec( sql );
|
||||
|
||||
struct PGTypeInfo
|
||||
{
|
||||
QString typeName;
|
||||
QString typeType;
|
||||
QString typeElem;
|
||||
int typeLen;
|
||||
};
|
||||
|
||||
QMap<int, PGTypeInfo> typeMap;
|
||||
for ( int i = 0; i < typeResult.PQntuples(); ++i )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user