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
if ( PGRES_TUPLES_OK == PQresultStatus( result ) )
3018
+
{
3019
+
Oid tableOid = PQftable( result, 0 );
3020
+
int column = PQftablecol( result, 0 );
3017
3021
3018
-
QgsDebugMsg( "geometry column query returned " + QString::number( PQntuples( result ) ) );
3022
+
result = connectionRO->PQexec( sql );
3023
+
if ( tableOid >= 0 && PGRES_TUPLES_OK == PQresultStatus( result ) )
3024
+
{
3025
+
sql = QString( "SELECT pg_namespace.nspname,pg_class.relname FROM pg_class,pg_namespace WHERE pg_class.relnamespace=pg_namespace.oid AND pg_class.oid=%1" ).arg( tableOid );
0 commit comments