Opened 13 years ago
Closed 13 years ago
#1730 closed defect (fixed)
layerid in GetTopoGeomElementArray
Reported by: | chrizke | Owned by: | chrizke |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | topology | Version: | master |
Keywords: | Cc: |
Description
Using topology.GetTopoGeomElementArray throws the following exception:
ERROR: Column »layerid« doesn't exist LINE 3: || quote_literal(layerid) || ',' ^ QUERY: SELECT 'SELECT * FROM topology.GetTopoGeomElements(' || quote_literal(toponame) || ',' || quote_literal(layerid) || ',' || quote_literal(tgid) || ') as obj ORDER BY obj' CONTEXT: PL/pgSQL function "gettopogeomelementarray" line 9 at ...
I think it should be:
quote_literal(layer_id)
Note:
See TracTickets
for help on using tickets.
What version of PostgreSQL ?