Opened 9 years ago

Closed 9 years ago

#3015 closed defect (fixed)

TopologySummary raises exception on missing schema

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.1.6
Component: topology Version: 2.1.x
Keywords: Cc:

Description

I think TopologySummary function should never raise an exception. It does if the named schema does not exist. If the topology name is found in topology.topology but the schema is missing it raises:

ERROR:  Got relation "topotest.relation" does not exist (42P01)

If there's not even a record in topology.topology it raises:

ERROR:  Got query string argument of EXECUTE is null (22004)

This is with PostgreSQL 9.3.4, dunno if it was different before (as I'm pretty sure I made some effort to avoid these cases)

Change History (2)

comment:1 by strk, 9 years ago

Status: newassigned

Fixed with r13186 in trunk, will wait for bot builds before backporting to 2.1

comment:2 by strk, 9 years ago

Resolution: fixed
Status: assignedclosed

Debbie and Travis were happy, so am I. Backported to 2.1 branch with r13187

Note: See TracTickets for help on using tickets.