From 8d9050baaf479c9046ba1e687a3f4b17bcf66b56 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Mon, 19 Dec 2011 03:44:45 +0000 Subject: [PATCH] Clarify topology topoelement example that it is an example of WHAT NOT TO DO git-svn-id: http://svn.osgeo.org/postgis/trunk@8461 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/extras_topology.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml index b1faadb47..2fb1ec6b9 100644 --- a/doc/extras_topology.xml +++ b/doc/extras_topology.xml @@ -145,7 +145,10 @@ ------- {1,2} - SELECT ARRAY[1,2,3]::topology.topoelement; + +--Example of what happens when you try to case a 3 element array to topoelement +-- NOTE: topoement has to be a 2 element array so fails dimension check +SELECT ARRAY[1,2,3]::topology.topoelement; ERROR: value for domain topology.topoelement violates check constraint "dimensions" -- 2.50.1