Opened 13 years ago

Last modified 9 years ago

#1510 new defect

Querying external PostGIS-layer with multiple geometries crashes wxpython-GUI

Reported by: grasslandtom Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: wxGUI Version: 6.4.2 RCs
Keywords: wxpython, PostGIS, v.external Cc:
CPU: Unspecified Platform: Unspecified

Description

steps to reproduce:

_ import a PostGIS-layer with multiple geometries; something like

v.external dsn='db=mydb' out=vector layer='v_eca_data(coords_gk_em38)'

_ adding the vector-layer to the map in the GUI raises on the console:

ERROR 1: FEHLER:  aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum Ende der Transaktion ignoriert

DBMI-OGR driver error:
Cannot select: 
select * from v_eca_data(coords_gk_em38)



GRASS_INFO_WARNING(10090,1): Unable to open select cursor: 'select * from v_eca_data(coords_gk_em38)'
GRASS_INFO_END(10090,1)

GRASS_INFO_ERROR(10093,1): Unable to describe table <v_eca_data(coords_gk_em38)>
GRASS_INFO_END(10093,1)


_ Clicking on a feature of the layer with the query tool on the map crashes the GUI and raises the same error

It seems to me that the problem is the wrong table name in the query

select * from v_eca_data(coords_gk_em38)

which should be

select * from v_eca_data

Change History (1)

comment:1 by martinl, 9 years ago

Milestone: 6.4.6
Note: See TracTickets for help on using tickets.