mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
							parent
							
								
									9183f7bb5f
								
							
						
					
					
						commit
						689bcc6020
					
				@ -657,7 +657,7 @@ class PostGisDBConnector(DBConnector):
 | 
			
		||||
                  LEFT JOIN pg_class t ON c.conrelid = t.oid
 | 
			
		||||
                        LEFT JOIN pg_class t2 ON c.confrelid = t2.oid
 | 
			
		||||
                        JOIN pg_namespace nsp ON t.relnamespace = nsp.oid
 | 
			
		||||
                        WHERE t.relname = %s %s """ % (con_col_name, self.quoteString(tablename), schema_where)
 | 
			
		||||
                        WHERE c.contype <> 't' AND t.relname = %s %s """ % (con_col_name, self.quoteString(tablename), schema_where)
 | 
			
		||||
 | 
			
		||||
        c = self._execute(None, sql)
 | 
			
		||||
        res = self._fetchall(c)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user