[postgis-tickets] r14744 - Add comment to topology face and node tables

Sandro Santilli strk at keybit.net
Fri Mar 4 00:29:46 PST 2016


Author: strk
Date: 2016-03-04 00:29:45 -0800 (Fri, 04 Mar 2016)
New Revision: 14744

Modified:
   trunk/topology/topology.sql.in
Log:
Add comment to topology face and node tables

Modified: trunk/topology/topology.sql.in
===================================================================
--- trunk/topology/topology.sql.in	2016-03-03 21:17:13 UTC (rev 14743)
+++ trunk/topology/topology.sql.in	2016-03-04 08:29:45 UTC (rev 14744)
@@ -1739,6 +1739,11 @@
   ||',''face'',''mbr'','||quote_literal(srid)
   ||',''POLYGON'',2)'; -- 2d only mbr is good enough
 
+  -- Face standard view description
+  EXECUTE 'COMMENT ON TABLE ' || quote_ident(atopology)
+    || '.face IS '
+       '''Contains face topology primitives''';
+
   -------------} END OF face CREATION
 
 
@@ -1766,6 +1771,11 @@
   ||',''node'',''geom'','||quote_literal(srid)
   ||',''POINT'',' || ndims || ')';
 
+  -- Node standard view description
+  EXECUTE 'COMMENT ON TABLE ' || quote_ident(atopology)
+    || '.node IS '
+       '''Contains node topology primitives''';
+
   --------------} END OF node CREATION
 
   --------------{ edge CREATION
@@ -1826,7 +1836,7 @@
        ' left_face, right_face, geom FROM '
     || quote_ident(atopology) || '.edge_data';
 
-  -- edge standard view description
+  -- Edge standard view description
   EXECUTE 'COMMENT ON VIEW ' || quote_ident(atopology)
     || '.edge IS '
        '''Contains edge topology primitives''';



More information about the postgis-tickets mailing list