Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3329 closed bug (fixed)

Error for postgres's provider when table(statement SELECT ) is outside public's schema

Reported by: lmotta Owned by: brushtyler
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Data Provider Version: 1.6.0
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

When used layers outside public's schema has problem where layer is defined with statement SQL.

The problem is message of error, but, the layer is created correct. Menssage Error: SQL: declare oidcursor binary cursor for select regclass...

The example of layer: dbname='postgis' host=localhost port=5432 user='postgres' key='gid' table="(select l.id AS gid, l.the_geom AS the_geom from gis.tl_20101117_101056_limite l)" (the_geom) sql=

When layer are in public's schema is OK. ... from public.tl_20101117_101056_limite l

Change History (6)

comment:1 by ricardogsilva, 13 years ago

Owner: changed from nobody to ricardogsilva
Status: newassigned

Hi, I am the author of this plugin. I am aware of this error message. I haven't found its cause yet, but it seems to have no actual effect on the generation of the layers. I'll keep investigating and report back when I have a fix.

comment:2 by ricardogsilva, 13 years ago

Component: Data ProviderPython plugins and bindings
Priority: major: does not work as expectedminor: annoyance

comment:3 by brushtyler, 13 years ago

Component: Python plugins and bindingsData Provider
Owner: changed from ricardogsilva to brushtyler
Platform: WindowsAll
Status: assignednew

This is a postgres provider's error, not just a plugin one.

comment:4 by brushtyler, 13 years ago

Status: newassigned

comment:5 by brushtyler, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed from r14919

comment:6 by ricardogsilva, 13 years ago

Just tested it against the 'custom db query' plugin. It's working great. Thanks a lot!

Note: See TracTickets for help on using tickets.