|
PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
The intended use for this trigger function is making a geometry field cache it's bbox. More...
#include "postgres.h"#include "executor/spi.h"#include "commands/trigger.h"#include "../postgis_config.h"#include "lwgeom_pg.h"#include "utils/rel.h"
Go to the source code of this file.
Functions | |
| Datum | cache_bbox (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (cache_bbox) | |
The intended use for this trigger function is making a geometry field cache it's bbox.
Use like this:
CREATE TRIGGER <name> BEFORE INSERT OR UPDATE ON
EACH ROW EXECUTE PROCEDURE cache_bbox(<field>);
Definition in file lwgeom_triggers.c.