|SchemaSpy Analysis of sola.publicDefault schema for all PostgreSQL databases. Contains functions supporting the PostGIS and UUID-OSSP extensions as well as some common SOLA functions. For information on PostGIS functions see http://postgis.net/docs/reference.html. For information on UUID-OSSP functions see http://www.postgresql.org/docs/9.3/static/uuid-ossp.html
|Generated by SchemaSpy on Tue May 31 09:59 NZST 2016
|Database Type: PostgreSQL - 9.4.6
Insertion Order Deletion Order (for database loading/purging scripts)
|Table / View
|This function will delete any table or function from the database that does not belong to the standard postgis template.
|Drops all foreign key constraints from the database.
|Removes all triggers and their related functions from the database.
|Performs a case insensitive comparison between 2 strings. Used by SOLA search functions.
|This function can be used to disable all triggers in the database. To disable all triggers in all schemas in the db - select fn_triggerall(false); To enable all triggers in all schemas in the db - select fn_triggerall(true);
|Determines the SRID for a geometry by comparing the longitude value of its centriod to values in the system.crs table. If the geometry is in a different SRID, it is transformed into the appropriate SRID and returned, otherwise it is retuned unchanged.
|Splits a SOLA formatted multi-lingual string to obtain the appropriate translation based on the users selected display language.
|Trigger Function: f_for_trg_track_changes
|Function triggered on insert or update of any SOLA table that is subject to history recording. The function ensures the change user details are recorded along with the date and time of the change. It also checks the rowversion to ensure the record has not been inadvertently updated by 2 or more people at the same time (i.e. implements optimistic locking) and increments the rowversion as required.
|Trigger Function: f_for_trg_track_history
|Function triggered on insert or update of any SOLA table that is subject to history recording. The function copies the original content of a record (i.e. before it is modified) to the appropriate _historic table. This ensures a full history of all changes to a record are maintained for audit purposes.