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

type and srid of geometry column not found using custom query (postgres provider) with no results #12741

Closed
qgib opened this issue Apr 27, 2010 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Apr 27, 2010

Author Name: Giuseppe Sucameli (@brushtyler)
Original Redmine Issue: 2681

Redmine category:data_provider
Assignee: Jürgen Fischer


This is the message I get if I use a custom query with no results.

Quantum GIS was unable to determine the type and srid of column geom in (SELECT * FROM "public"."_ctr2k_av" AS "t_0") as "subQuery_0". The database communication log was:

I get no errors if I insert that layer from QGis GUI because if I not use a custom query the provider retrieve type and srid by the entry in geometry_columns.


@qgib
Copy link
Contributor Author

qgib commented Apr 28, 2010

Author Name: Giuseppe Sucameli (@brushtyler)


The patch contains:

  • the real patch to resolve this issue

  • 2 query combined into one (to make the code run faster)

  • and 2 little fixes (because 0 is defined as [[InvalidOid]])

Please, when apply the patch to the trunk add at the end of the commit message this text

[RT-SIGTA] 

@qgib
Copy link
Contributor Author

qgib commented May 2, 2010

Author Name: Jürgen Fischer (@jef-n)


fixed in 7b48ca7 (SVN r13407).


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib added this to the Version 1.5.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
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! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant