[postgis-users] Typmod and triggers

Paragon Corporation lr at pcorp.us
Tue Nov 22 17:43:00 PST 2011


Jose, 

slight omission in my last 
> -- to put back constraints on it --
> SELECT populate_geometry_columns('a'::regclass);
> 

I forgot that use type mod is the default now -- so the above should be

SELECT populate_geometry_columns('a'::regclass, false);

To force it to constrain the geometry using constraints instead of typmod.

 Hope that helps,
 Regina
 http://www.postgis.us





More information about the postgis-users mailing list