-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS 3.10.1 not possible to display the list of postgis tables #33509
Comments
@frgis cannot confirm here, same qgis version and platform. |
Indeed you are right. |
Hello, I open this ticket again because I can't find the problem on a production installation with PostgreSQL 9.6 and Postgis 2. There is always the same problem as above with QGIS 3.10.1. I uninstalled and reinstalled without success. I tried with another computer and I have the same problem. Both computers have Windows 10 Professional and it is only when I log in with a superuser. With version 3.4.14 there is no problem. I will try to recover the error message today. |
much resemblance to issue #32716 |
the attached error 2020-01-14T08:33:26 WARNING Requête erronée : SELECT l.f_table_name,l.f_table_schema,l.f_geometry_column,upper(l.type),l.srid,l.coord_dimension,c.relkind,obj_description(c.oid),array_agg(a.attname), count(CASE WHEN t.typname IN ('geometry','geography','pcpatch','pcpoint','raster') THEN 1 ELSE NULL END) , 1 FROM geometry_columns l,pg_class c,pg_namespace n,pg_attribute a,pg_type t WHERE c.relname=l.f_table_name AND l.f_table_schema=n.nspname AND NOT a.attisdropped AND a.attrelid=c.oid AND a.atttypid=t.oid AND a.attnum>0 AND n.oid=c.relnamespace AND has_schema_privilege(n.nspname,'usage') AND has_table_privilege(c.oid,'select') GROUP BY 1,2,3,4,5,6,7,c.oid,11 UNION SELECT l.f_table_name,l.f_table_schema,l.f_geography_column,upper(l.type),l.srid,2,c.relkind,obj_description(c.oid),array_agg(a.attname), count(CASE WHEN t.typname IN ('geometry','geography','pcpatch','pcpoint','raster') THEN 1 ELSE NULL END) , 1 FROM geography_columns l,pg_class c,pg_namespace n,pg_attribute a,pg_type t WHERE c.relname=l.f_table_name AND l.f_table_schema=n.nspname AND NOT a.attisdropped AND a.attrelid=c.oid AND a.atttypid=t.oid AND a.attnum>0 AND n.oid=c.relnamespace AND has_schema_privilege(n.nspname,'usage') AND has_table_privilege(c.oid,'select') GROUP BY 1,2,3,4,5,6,7,c.oid,11 UNION SELECT l."table",l."schema",l."column",'POLYGON',l.srid,2,c.relkind,obj_description(c.oid),array_agg(a.attname), count(CASE WHEN t.typname IN ('geometry','geography','pcpatch','pcpoint','raster') THEN 1 ELSE NULL END) , 1 FROM pointcloud_columns l,pg_class c,pg_namespace n,pg_attribute a,pg_type t WHERE c.relname=l."table" AND l."schema"=n.nspname AND NOT a.attisdropped AND a.attrelid=c.oid AND a.atttypid=t.oid AND a.attnum>0 AND n.oid=c.relnamespace AND has_schema_privilege(n.nspname,'usage') AND has_table_privilege(c.oid,'select') GROUP BY 1,2,3,4,5,6,7,c.oid,11 UNION SELECT l."r_table_name",l."r_table_schema",l."r_raster_column",'RASTER',l.srid,2,c.relkind,obj_description(c.oid),array_agg(a.attname), count(CASE WHEN t.typname IN ('geometry','geography','pcpatch','pcpoint','raster') THEN 1 ELSE NULL END) , 1 FROM raster_columns l,pg_class c,pg_namespace n,pg_attribute a,pg_type t WHERE c.relname=l."r_table_name" AND l."r_table_schema"=n.nspname AND NOT a.attisdropped AND a.attrelid=c.oid AND a.atttypid=t.oid AND a.attnum>0 AND n.oid=c.relnamespace AND has_schema_privilege(n.nspname,'usage') AND has_table_privilege(c.oid,'select') GROUP BY 1,2,3,4,5,6,7,c.oid,11 ORDER BY 2,1,3 a retourné 7 [ERREUR: la relation « pointcloud_columns » n'existe pas Thanks |
@strk wasn't his already fixed? if not, sounds any bell? |
The result of the error is the same (no table displayed in the datasource manager). However the nature of the error is in my opinion different. Indeed, it searches here for a 'pointcloud_columns' table or view, But I don't have it. I did come research and this view or table is linked to the installation of a specific postgresql extension that I don't have (point cloud > https://oslandia.com/wp-content /uploads/2018/05/Lemoine-Oslandia-Pointcloud.pdf) you think that #32716 solves this problem ? Thanks |
Should have been fixed with #32972 - are you sure you're using 3.10.1 ? |
@strk the screenshot posted is clear. |
"are you sure" is about carefully checking if the information of the screenshot is correct :) @frgis how did you install ? Can it be you have multiple qgis files (from older versions) around ? |
Hello, I'm reproducing it right now. For PostgreSQL and PostGIS, the current versions: PostgreSQL is installed on DEBIAN 9 Note: no problem on QGIS 3.4.14 Nothing to do but in the Processing toolbox the SAGA algorithms are not also displayed. perhaps a link between the two problems ? |
@frgis can you also include output of:
Run from the DBManager SQL window against the appropriate database connection |
And also: |
I see your message right now. Thanks |
The query verifying permissions of My guess is that the schema in which your |
There is no need to change anything. |
Try also |
A query to inspect schema in which |
The pointcloud extension must be installed on the foreign database ( I use extension Foreign data wrapper ) and I have recovered the entire contents of the schema in which there are these tables. Thanks ! |
Hello,
since the version QGIS 3.10.1 when I try to add a postgis layer (or a table) there is an error message telling me that it is not possible to display the list of layers
For information :
I work with postgresql 9.6
It works with the ltr version
My os is Windows 10
Thank you.
The text was updated successfully, but these errors were encountered: