Skip to content

Commit f432e83

Browse files
committed
postgres provider: ignore errors on querying geography_columns
1 parent 7147e15 commit f432e83

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/providers/postgres/qgspostgresconn.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,11 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP
349349
if ( result.PQresultStatus() != PGRES_TUPLES_OK )
350350
{
351351
PQexecNR( "COMMIT" );
352-
return false;
352+
353+
if ( i == 0 )
354+
return false;
355+
356+
continue;
353357
}
354358
else
355359
{

0 commit comments

Comments
 (0)