Skip to content
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

DB Manager doesn't import PostGIS data in view with dblink #19607

Closed
qgib opened this issue Oct 2, 2014 · 2 comments
Closed

DB Manager doesn't import PostGIS data in view with dblink #19607

qgib opened this issue Oct 2, 2014 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin

Comments

@qgib
Copy link
Contributor

qgib commented Oct 2, 2014

Author Name: Moreno Comelli (Moreno Comelli)
Original Redmine Issue: 11311
Affected QGIS version: master
Redmine category:db_manager


I tried to import in QGIS a view with a PostGIS geometry column, which data are obtained from a second db (using dblink in Postgres).
It works through the normal 'Add PostGIS layer', not through DB Manager.

CREATE OR REPLACE VIEW my_view AS
SELECT id, geomfromtext('POINT('|| x_coo || ' ' || y_coo || ')', 3003)
FROM dblink('host=127.0.0.1 port=5432 dbname=xxx user=xxx password=xxx',
'SELECT id, x_coo, y_coo FROM my_table;') AS m (id numeric, x_coo numeric, y_coo numeric);

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


End of life notice: QGIS 2.18 LTR

Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/


  • resolution was changed from to end of life
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Mar 9, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin labels May 25, 2019
Ailurupoda pushed a commit to SIRS-CLS/QGIS that referenced this issue Feb 18, 2020
Ailurupoda pushed a commit to SIRS-CLS/QGIS that referenced this issue Feb 18, 2020
[processing] do not allow editing model if it's missing algorithms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin
Projects
None yet
Development

No branches or pull requests

1 participant