Skip to content
Permalink
Browse files

Fix display of DataType extracted from layer registry

  • Loading branch information
strk committed Apr 27, 2021
1 parent f12317d commit bb433d673cd5354860bcc00ec7a6a18810eda388
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresconn.cpp
@@ -567,7 +567,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP
" AND has_table_privilege(c.oid,'select')" // user has select privilege
)
.arg( tableName, schemaName, columnName, typeName, sridName, dimName, gtableName )
.arg( 1 )
.arg( i )
.arg( supportedSpatialTypes().join( ',' ) )
.arg( mPostgresqlVersion >= 90000 ? "array_agg(a.attname ORDER BY a.attnum)" : "(SELECT array_agg(attname) FROM (SELECT unnest(array_agg(a.attname)) AS attname ORDER BY unnest(array_agg(a.attnum))) AS attname)" )
;

0 comments on commit bb433d6

Please sign in to comment.