Routines

Routines

Name Type Language Deterministic Return Type Security Restriction Comments
create_parent(text, text, text, text, text[], integer, text, text, boolean, text, text, text[], boolean, text, boolean, boolean) FUNCTION PLPGSQL false boolean DEFINER
delete(hstore, text) FUNCTION C true hstore INVOKER
ot_rw_gen_devmessageid() FUNCTION PLPGSQL false trigger INVOKER
st_expand(box2d, double precision) FUNCTION C true box2d INVOKER

args: g1, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

ot_ro_pos_history(integer, integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
st_length(text) FUNCTION SQL true double precision INVOKER
geometry_gist_same_nd(geometry, geometry, internal) FUNCTION C false internal INVOKER
st_force2d(geometry) FUNCTION C true geometry INVOKER
ot_rw_insert_event_arch(integer, numeric, numeric, real, numeric, timestamp with time zone, hstore) FUNCTION SQL false bigint INVOKER
_st_distanceuncached(geography, geography, double precision, boolean) FUNCTION C true double precision INVOKER
st_azimuth(geometry, geometry) FUNCTION C true double precision INVOKER

args: pointA, pointB - Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB.

st_envelope(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns a geometry representing the double precision (float8) bounding box of the supplied geometry.

ot_rw_device_unit() FUNCTION PLPGSQL false trigger INVOKER
box3dtobox(box3d) FUNCTION SQL true box INVOKER
undo_partition_time(text, integer, interval, boolean, numeric) FUNCTION PLPGSQL false record DEFINER
st_geomcollfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a collection Geometry from collection WKT with the given SRID. If SRID is not give, it defaults to -1.

st_contains(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns true if and only if no points of B lie in the exterior of A, and at least one point of the interior of B lies in the interior of A.

st_3dextent(geometry) AGGREGATE INTERNAL true box3d INVOKER

args: geomfield - an aggregate function that returns the box3D bounding box that bounds rows of geometries.

ot_rw_device_security_status_history() FUNCTION PLPGSQL false trigger INVOKER
ot_ro_dw_daily(timestamp with time zone, timestamp with time zone, character varying) FUNCTION SQL false SETOF record INVOKER
addgeometrycolumn(character varying, character varying, character varying, integer, character varying, integer, boolean) FUNCTION PLPGSQL false text INVOKER

args: schema_name, table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

ot_ro_get_location_local(double precision, double precision, integer) FUNCTION PLPGSQL false hstore INVOKER
pgfadvise_sequential(regclass) FUNCTION SQL false SETOF record INVOKER
ot_ro_event_cassandra_proxy(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPYTHONU false SETOF record INVOKER
uuid_ns_oid() FUNCTION C true uuid INVOKER
crosstab4(text) FUNCTION C false SETOF tablefunc_crosstab_4 INVOKER
geometrytype(geography) FUNCTION C true text INVOKER
st_zmflag(geometry) FUNCTION C true smallint INVOKER

args: geomA - Returns ZM (dimension semantic) flag of the geometries as a small int. Values are: 0=2d, 1=3dm, 2=3dz, 3=4d.

_st_geomfromgml(text, integer) FUNCTION C true geometry INVOKER
ghstore_consistent(internal, internal, integer, oid, internal) FUNCTION C true boolean INVOKER
st_numinteriorrings(geometry) FUNCTION C true integer INVOKER

args: a_polygon - Return the number of interior rings of the first polygon in the geometry. This will work with both POLYGON and MULTIPOLYGON types but only looks at the first polygon. Return NULL if there is no polygon in the geometry.

get_load_average() FUNCTION PLPYTHONU false record DEFINER

created for pgwatch2

st_convexhull(geometry) FUNCTION C true geometry INVOKER

args: geomA - The convex hull of a geometry represents the minimum convex geometry that encloses all geometries within the set.

st_geomfromgml(text, integer) FUNCTION C true geometry INVOKER

args: geomgml, srid - Takes as input GML representation of geometry and outputs a PostGIS geometry object

postgis_hasbbox(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns TRUE if the bbox of this geometry is cached, FALSE otherwise.

st_covers(geography, geography) FUNCTION SQL true boolean INVOKER

args: geogpolyA, geogpointB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A

plproxy_fdw_validator(text[], oid) FUNCTION C false boolean INVOKER
ot_ro_no_coverage(timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF event INVOKER
ot_rw_shipperconf_addunit(integer, integer, integer) FUNCTION PLPGSQL false record INVOKER
_int_union(integer[], integer[]) FUNCTION C true ARRAY INVOKER
st_asbinary(geometry) FUNCTION C true bytea INVOKER

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

ot_rw_unit_device_tg() FUNCTION PLPGSQL false trigger DEFINER
addauth(text) FUNCTION PLPGSQL false boolean INVOKER

args: auth_token - Add an authorization token to be used in current transaction.

_st_dumppoints(geometry, integer[]) FUNCTION PLPGSQL false SETOF geometry_dump INVOKER
ot_ro_get_location_v2(double precision, double precision) FUNCTION PLPGSQL false hstore DEFINER
geometry_send(geometry) FUNCTION C true bytea INVOKER
st_memcollect(geometry) AGGREGATE INTERNAL true geometry INVOKER
check_parent(boolean) FUNCTION PLPGSQL false SETOF check_parent_table DEFINER
apply_foreign_keys(text, text, bigint, boolean) FUNCTION PLPGSQL false void INVOKER
omni_ro_get_current_geofence_tmp(integer, double precision, double precision) FUNCTION PLPGSQL false SETOF integer INVOKER
st_makeenvelope(double precision, double precision, double precision, double precision, integer) FUNCTION C true geometry INVOKER

args: xmin, ymin, xmax, ymax, srid=unknown - Creates a rectangular Polygon formed from the given minimums and maximums. Input values must be in SRS specified by the SRID.

gin_extract_value_trgm(text, internal) FUNCTION C true internal INVOKER
event_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
st_asgeojson(geometry, integer, integer) FUNCTION SQL true text INVOKER

args: geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

gtrgm_distance(internal, text, integer, oid) FUNCTION C true double precision INVOKER
sort(integer[], text) FUNCTION C true ARRAY INVOKER
omni_ro_get_current_geofence(integer, double precision, double precision) FUNCTION PLPGSQL false SETOF integer INVOKER
join_kmldocs(text[]) FUNCTION SQL true text INVOKER
st_srid(geometry) FUNCTION C true integer INVOKER

args: g1 - Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table.

st_setsrid(geometry, integer) FUNCTION C true geometry INVOKER

args: geom, srid - Sets the SRID on a geometry to a particular integer value.

st_assvg(text) FUNCTION SQL true text INVOKER
cc_get_current_fence(integer, double precision, double precision) FUNCTION SQL false SETOF georeference INVOKER
ot_rw_insert_ecmevent_errorcode(bigint, integer, integer, character varying, integer, timestamp with time zone, timestamp with time zone, numeric, numeric, boolean, integer, integer, integer, integer, integer, boolean, integer, boolean) FUNCTION SQL false void DEFINER
_final_median(anyarray) FUNCTION SQL true double precision INVOKER
st_geomfromgeojson(text) FUNCTION C true geometry INVOKER

args: geomjson - Takes as input a geojson representation of a geometry and outputs a PostGIS geometry object

drop_partition_column(text, text) FUNCTION PLPGSQL false void DEFINER
dropgeometrytable(character varying, character varying) FUNCTION SQL false text INVOKER

args: schema_name, table_name - Drops a table and all its references in geometry_columns.

ot_rw_revokemod(character varying) FUNCTION PLPGSQL false void INVOKER
st_linemerge(geometry) FUNCTION C true geometry INVOKER

args: amultilinestring - Returns a (set of) LineString(s) formed by sewing together a MULTILINESTRING.

kml_concat(text, geometry, anyelement) FUNCTION SQL true text INVOKER
sort(integer[]) FUNCTION C true ARRAY INVOKER
ot_event_part_createchild_generic(character varying, character varying, date) FUNCTION PLPGSQL false boolean DEFINER
st_3dmakebox(geometry, geometry) FUNCTION C true box3d INVOKER

args: point3DLowLeftBottom, point3DUpRightTop - Creates a BOX3D defined by the given 3d point geometries.

omni_ro_get_current_geofence(integer, double precision, double precision, double precision, double precision) FUNCTION PLPGSQL false SETOF integer INVOKER
dw_daily_activity_summarized1(character varying, timestamp with time zone, timestamp with time zone, integer) FUNCTION SQL false SETOF record INVOKER
dmetaphone_alt(text) FUNCTION C true text INVOKER
st_ymax(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Y maxima of a bounding box 2d or 3d or a geometry.

st_startpoint(geometry) FUNCTION C true geometry INVOKER

args: geomA - Returns the first point of a LINESTRING geometry as a POINT.

st_isring(geometry) FUNCTION C true boolean INVOKER

args: g - Returns TRUE if this LINESTRING is both closed and simple.

ot_ro_fast_plainmsg_v2(integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF fast_plainmsg INVOKER
ot_ro_addarray(real[], real[]) FUNCTION SQL false ARRAY INVOKER
st_dwithin(geography, geography, double precision, boolean) FUNCTION SQL true boolean INVOKER

args: gg1, gg2, distance_meters, use_spheroid - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

hstore_hash(hstore) FUNCTION C true integer INVOKER
gserialized_gist_sel_nd(internal, oid, internal, integer) FUNCTION C false double precision INVOKER
st_makepolygon(geometry) FUNCTION C true geometry INVOKER

args: linestring - Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS.

st_segmentize(geography, double precision) FUNCTION C true geography INVOKER
st_polygonfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_mpointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_lineinterpolatepoint(geometry, double precision) FUNCTION C true geometry INVOKER
message_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
_st_dwithinuncached(geography, geography, double precision, boolean) FUNCTION C true boolean INVOKER
_st_distance(geography, geography, double precision, boolean) FUNCTION C true double precision INVOKER
hstore_ge(hstore, hstore) FUNCTION C true boolean INVOKER
geometry_overlaps_nd(geometry, geometry) FUNCTION C true boolean INVOKER
st_area2d(geometry) FUNCTION C true double precision INVOKER
st_locatebetweenelevations(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: geom_mline, elevation_start, elevation_end - Return a derived geometry (collection) value with elements that intersect the specified range of elevations inclusively. Only 3D, 4D LINESTRINGS and MULTILINESTRINGS are supported.

ot_ro_posiciones(character varying, character varying, timestamp without time zone, timestamp without time zone) FUNCTION SQL false SETOF record INVOKER
geometry_eq(geometry, geometry) FUNCTION C true boolean INVOKER
uuid_generate_v5(uuid, text) FUNCTION C true uuid INVOKER
ot_ro_get_device_conf(character varying) FUNCTION SQL false hstore INVOKER
geometry_overleft(geometry, geometry) FUNCTION C true boolean INVOKER
gserialized_gist_joinsel_nd(internal, oid, internal, smallint) FUNCTION C false double precision INVOKER
uuid_generate_v3(uuid, text) FUNCTION C true uuid INVOKER
ot_rw_create_instalaciones_user(integer, character varying) FUNCTION PLPGSQL false integer INVOKER
hstore_gt(hstore, hstore) FUNCTION C true boolean INVOKER
st_difference(geometry, geometry) FUNCTION C true geometry INVOKER

args: geomA, geomB - Returns a geometry that represents that part of geometry A that does not intersect with geometry B.

table_privilege(character varying, character varying) FUNCTION SQL false SETOF record INVOKER
uuid_ns_x500() FUNCTION C true uuid INVOKER
dmetaphone(text) FUNCTION C true text INVOKER
g_intbig_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_scale(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, XFactor, YFactor, ZFactor - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor).

xml_escape(text) FUNCTION SQL true text INVOKER
lockrow(text, text, text, timestamp without time zone) FUNCTION SQL false integer INVOKER

args: a_table_name, a_row_key, an_auth_token, expire_dt - Set lock/authorization for specific row in table

ot_ro_getdevinfo(character varying) FUNCTION SQL false SETOF record INVOKER
st_geometryfromtext(text, integer) FUNCTION C true geometry INVOKER

args: WKT, srid - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

ot_ro_get_alerts_by_user_tmp(integer, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
st_summary(geography) FUNCTION C true text INVOKER

args: g - Returns a text summary of the contents of the geometry.

st_force_3d(geometry) FUNCTION SQL true geometry INVOKER

args: geomA - Forces the geometries into XYZ mode. This is an alias for ST_Force_3DZ.

_st_3ddfullywithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
_postgis_join_selectivity(regclass, text, regclass, text, text) FUNCTION C false double precision INVOKER
st_linetocurve(geometry) FUNCTION C true geometry INVOKER

args: geomANoncircular - Converts a LINESTRING/POLYGON to a CIRCULARSTRING, CURVED POLYGON

ot_rw_keyboardconf(character varying) FUNCTION PLPGSQL false boolean INVOKER
geometrytype(geometry) FUNCTION C true text INVOKER

args: geomA - Returns the type of the geometry as a string. Eg: LINESTRING, POLYGON, MULTIPOINT, etc.

postgis_proj_version() FUNCTION C true text INVOKER

Returns the version number of the PROJ4 library.

st_buffer(geometry, double precision, text) FUNCTION SQL true geometry INVOKER

args: g1, radius_of_buffer, buffer_style_parameters - (T) For geometry: Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry. For geography: Uses a planar transform wrapper. Introduced in 1.5 support for different end cap and mitre settings to control shape. buffer_style options: quad_segs=#,endcap=round|flat|square,join=round|mitre|bevel,mitre_limit=#.#

st_makeline(geometry[]) FUNCTION C true geometry INVOKER

args: geoms_array - Creates a Linestring from point or line geometries.

ghstore_in(cstring) FUNCTION C true ghstore INVOKER
st_asbinary(geography) FUNCTION C true bytea INVOKER

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

st_3ddistance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - For geometry type Returns the 3-dimensional cartesian minimum distance (based on spatial ref) between two geometries in projected units.

pg_relpages(regclass) FUNCTION C false bigint INVOKER
median(numeric) AGGREGATE INTERNAL true numeric INVOKER
text(geometry) FUNCTION C true text INVOKER
st_assvg(geometry, integer, integer) FUNCTION C true text INVOKER

args: geom, rel=0, maxdecimaldigits=15 - Returns a Geometry in SVG path data given a geometry or geography object.

ot_rw_maint_alert_recent_add_new() FUNCTION PLPGSQL false boolean DEFINER
intarray_push_array(integer[], integer[]) FUNCTION C true ARRAY INVOKER
st_crosses(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: g1, g2 - Returns TRUE if the supplied geometries have some, but not all, interior points in common.

st_cleangeometry(geometry) FUNCTION C true geometry INVOKER
st_makepointm(double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y, m - Creates a point geometry with an x y and m coordinate.

ot_update_geoidsequence() FUNCTION PLPGSQL false integer INVOKER
connectby(text, text, text, text, text, integer) FUNCTION C false SETOF record INVOKER
uuid_generate_v1mc() FUNCTION C false uuid INVOKER
find_devicesnotnormal() FUNCTION PLPGSQL false ARRAY INVOKER
geography_out(geography) FUNCTION C true cstring INVOKER
st_multipointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
hstore_recv(internal) FUNCTION C true hstore INVOKER
_st_distanceuncached(geography, geography) FUNCTION SQL true double precision INVOKER
ot_rw_createuser_admin(integer, character varying, character varying, character varying) FUNCTION PLPGSQL false integer DEFINER
intarray_push_elem(integer[], integer) FUNCTION C true ARRAY INVOKER
st_linefromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER

args: WKB, srid - Makes a LINESTRING from WKB with the given SRID

st_removerepeatedpoints(geometry) FUNCTION C true geometry INVOKER

args: geom - Returns a version of the given geometry with duplicated points removed.

gettransactionid() FUNCTION C false xid INVOKER
addgeometrycolumn(character varying, character varying, character varying, character varying, integer, character varying, integer, boolean) FUNCTION PLPGSQL false text INVOKER
geography(geometry) FUNCTION C true geography INVOKER
st_snaptogrid(geometry, geometry, double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, pointOrigin, sizeX, sizeY, sizeZ, sizeM - Snap all points of the input geometry to a regular grid.

get_psutil_cpu_info() FUNCTION PLPYTHONU false record DEFINER

created for pgwatch2

ot_ro_baddelay(date) FUNCTION SQL false SETOF record INVOKER
geometry_gist_same_2d(geometry, geometry, internal) FUNCTION C false internal INVOKER
mul(bigint) AGGREGATE INTERNAL true bigint INVOKER
geomfromewkt(text) FUNCTION C true geometry INVOKER
ot_rw_setctrlcode(integer) FUNCTION SQL false void INVOKER
st_force_3dz(geometry) FUNCTION SQL true geometry INVOKER

args: geomA - Forces the geometries into XYZ mode. This is a synonym for ST_Force_3D.

dropgeometrytable(character varying) FUNCTION SQL false text INVOKER

args: table_name - Drops a table and all its references in geometry_columns.

ot_rw_copy2broker_ecmevent_parameter_list() FUNCTION PLPGSQL false trigger INVOKER
ot_ro_fast_event(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF event INVOKER
array_agg_mult(anyarray) AGGREGATE INTERNAL true anyarray INVOKER
connectby(text, text, text, text, integer, text) FUNCTION C false SETOF record INVOKER
postgis_constraint_srid(text, text, text) FUNCTION SQL false integer INVOKER
levenshtein_less_equal(text, text, integer, integer, integer, integer) FUNCTION C true integer INVOKER
st_curvetoline(geometry, integer) FUNCTION C true geometry INVOKER

args: curveGeom, segments_per_qtr_circle - Converts a CIRCULARSTRING/CURVEDPOLYGON to a LINESTRING/POLYGON

st_rotate(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians, x0, y0 - Rotate a geometry rotRadians counter-clockwise about an origin.

st_askml(integer, geography, integer, text) FUNCTION SQL true text INVOKER

args: version, geog, maxdecimaldigits=15, nprefix=NULL - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

ot_rw_gnxcommandstatusfix() FUNCTION PLPGSQL false integer DEFINER
_st_overlaps(geometry, geometry) FUNCTION C true boolean INVOKER
st_dump(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: g1 - Returns a set of geometry_dump (geom,path) rows, that make up a geometry g1.

get_psutil_disk_io_total() FUNCTION PLPYTHONU false record DEFINER

created for pgwatch2

ot_ro_pos_history_dynamic(integer, integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
geometry_gist_union_nd(bytea, internal) FUNCTION C false internal INVOKER
postgis_typmod_srid(integer) FUNCTION C true integer INVOKER
st_makepoint(double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y - Creates a 2D,3DZ or 4D point geometry.

pgfadvise_willneed(regclass) FUNCTION SQL false SETOF record INVOKER
geometry_gist_decompress_2d(internal) FUNCTION C false internal INVOKER
st_linesubstring(geometry, double precision, double precision) FUNCTION C true geometry INVOKER
check_subpartition_limits(text, text) FUNCTION PLPGSQL false record INVOKER
gtrgm_out(gtrgm) FUNCTION C true cstring INVOKER
lockrow(text, text, text) FUNCTION SQL false integer INVOKER

args: a_table_name, a_row_key, an_auth_token - Set lock/authorization for specific row in table

ot_rw_createuser_integracion(integer, character varying, character varying, character varying) FUNCTION PLPGSQL false integer DEFINER
st_longestline(geometry, geometry) FUNCTION SQL true geometry INVOKER

args: g1, g2 - Returns the 2-dimensional longest line points of two geometries. The function will only return the first longest line if more than one, that the function finds. The line returned will always start in g1 and end in g2. The length of the line this function returns will always be the same as st_maxdistance returns for g1 and g2.

ot_rw_alerts_resetcounters(interval) FUNCTION PLPGSQL false void INVOKER
alert_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
geometry_lt(geometry, geometry) FUNCTION C true boolean INVOKER
st_polyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
dw_ems(timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER

Gets the summary of the day for ECM data

hex_to_int(character varying) FUNCTION PLPGSQL true integer INVOKER
_st_longestline(geometry, geometry) FUNCTION C true geometry INVOKER
geometry_in(cstring) FUNCTION C true geometry INVOKER
kml_wrap(text) FUNCTION SQL true text INVOKER
drop_constraints(text, text, boolean) FUNCTION PLPGSQL false void INVOKER
st_geomcollfromwkb(bytea) FUNCTION SQL true geometry INVOKER
idx(integer[], integer) FUNCTION C true integer INVOKER
geography_le(geography, geography) FUNCTION C true boolean INVOKER
st_translate(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: g1, deltax, deltay, deltaz - Translates the geometry to a new location using the numeric parameters as offsets. Ie: ST_Translate(geom, X, Y) or ST_Translate(geom, X, Y,Z).

ot_rw_createrole_viewuser(integer) FUNCTION PLPGSQL false integer INVOKER
hstore(record) FUNCTION C true hstore INVOKER
box2d(box3d) FUNCTION C true box2d INVOKER
ot_rw_move_from_cnr() FUNCTION SQL false void DEFINER
pgis_geometry_polygonize_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
isdefined(hstore, text) FUNCTION C true boolean INVOKER
st_pointn(geometry, integer) FUNCTION C true geometry INVOKER

args: a_linestring, n - Return the Nth point in a linestring or circular linestring in the geometry. Return NULL if geometry is not a linestring or circular linestring

get_table_bloat_approx() FUNCTION SQL false record DEFINER

created for pgwatch2

intset(integer) FUNCTION C true ARRAY INVOKER
geometry(box2d) FUNCTION C true geometry INVOKER
ot_rw_ovmrecon_activestatus() FUNCTION PLPGSQL false SETOF character varying INVOKER
g_int_decompress(internal) FUNCTION C true internal INVOKER
ot_rw_create_user_sac(integer, character varying, character varying) FUNCTION PLPGSQL false integer DEFINER
postgis_cache_bbox() FUNCTION C false trigger INVOKER
ot_rw_update_georeference(integer, real, real, timestamp with time zone) FUNCTION PLPGSQL false SETOF geofence_history INVOKER
uuid_generate_v1() FUNCTION C false uuid INVOKER
geography_gist_union(bytea, internal) FUNCTION C false internal INVOKER
uniq(integer[]) FUNCTION C true ARRAY INVOKER
geometry_right(geometry, geometry) FUNCTION C true boolean INVOKER
pgis_geometry_collect_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
intset_subtract(integer[], integer[]) FUNCTION C true ARRAY INVOKER
levenshtein(text, text, integer, integer, integer) FUNCTION C true integer INVOKER
ot_rw_createdevice(character varying, integer) FUNCTION SQL false void DEFINER
st_geomcollfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
ot_rw_setjpodbus(character varying, integer) FUNCTION PLPGSQL false boolean INVOKER
st_geomfromewkb(bytea) FUNCTION C true geometry INVOKER

args: EWKB - Return a specified ST_Geometry value from Extended Well-Known Binary representation (EWKB).

st_unaryunion(geometry) FUNCTION C true geometry INVOKER

args: geom - Like ST_Union, but working at the geometry component level.

plproxy_validator(oid) FUNCTION C false void INVOKER
ghstore_union(internal, internal) FUNCTION C true internal INVOKER
connectby(text, text, text, text, integer) FUNCTION C false SETOF record INVOKER
st_force_collection(geometry) FUNCTION SQL true geometry INVOKER

args: geomA - Converts the geometry into a GEOMETRYCOLLECTION.

makegrid_2d(geometry, integer, integer) FUNCTION PLPGSQL false geometry INVOKER
st_locate_along_measure(geometry, double precision) FUNCTION SQL true geometry INVOKER
st_dimension(geometry) FUNCTION C true integer INVOKER

args: g - The inherent dimension of this Geometry object, which must be less than or equal to the coordinate dimension.

st_buffer(geometry, double precision, integer) FUNCTION SQL true geometry INVOKER

args: g1, radius_of_buffer, num_seg_quarter_circle - (T) For geometry: Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry. For geography: Uses a planar transform wrapper. Introduced in 1.5 support for different end cap and mitre settings to control shape. buffer_style options: quad_segs=#,endcap=round|flat|square,join=round|mitre|bevel,mitre_limit=#.#

st_addpoint(geometry, geometry, integer) FUNCTION C true geometry INVOKER

args: linestring, point, position - Adds a point to a LineString before point (0-based index).

event_p2016_05_12_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
_st_distancetree(geography, geography, double precision, boolean) FUNCTION C true double precision INVOKER
pgfadvise(regclass, text, integer) FUNCTION C false SETOF record INVOKER
ot_rw_update_mvw_mayauser_device() FUNCTION PLPGSQL false void DEFINER
pgstattuple(regclass) FUNCTION C false record INVOKER
ot_ro_get_event_temperature(integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF event_temperature DEFINER
st_scale(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, XFactor, YFactor - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor).

st_reverse(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns the geometry with vertex order reversed.

st_wkttosql(text) FUNCTION C true geometry INVOKER

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

st_union(geometry[]) FUNCTION C true geometry INVOKER

args: g1_array - Returns a geometry that represents the point set union of the Geometries.

st_dwithin(text, text, double precision) FUNCTION SQL true boolean INVOKER
geometry(geography) FUNCTION C true geometry INVOKER
exists_all(hstore, text[]) FUNCTION C true boolean INVOKER
_int_inter(integer[], integer[]) FUNCTION C true ARRAY INVOKER
create_function_time(text, bigint) FUNCTION PLPGSQL false void DEFINER
st_relate(geometry, geometry, integer) FUNCTION C true text INVOKER

args: geomA, geomB, BoundaryNodeRule - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

ot_rw_createuser_integracion(integer, character varying, character varying) FUNCTION PLPGSQL false integer DEFINER
exists_any(hstore, text[]) FUNCTION C true boolean INVOKER
_postgis_deprecate(text, text, text) FUNCTION PLPGSQL true void INVOKER
ghstore_picksplit(internal, internal) FUNCTION C true internal INVOKER
ot_ro_event_reasons_client(integer, integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
omni_ro_get_current_geofence_v1(integer, double precision, double precision) FUNCTION PLPGSQL false SETOF integer INVOKER
pgstatindex(regclass) FUNCTION C false record INVOKER
st_pointfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a point Geometry from WKT with the given SRID. If SRID is not given, it defaults to unknown.

undo_partition_id(text, integer, bigint, boolean, numeric) FUNCTION PLPGSQL false record DEFINER
geometry_le(geometry, geometry) FUNCTION C true boolean INVOKER
similarity_op(text, text) FUNCTION C false boolean INVOKER
st_pointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
g_int_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_locatealong(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: ageom_with_measure, a_measure, offset - Return a derived geometry collection value with elements that match the specified measure. Polygonal elements are not supported.

populate_geometry_columns(oid, boolean) FUNCTION PLPGSQL false integer INVOKER

args: relation_oid, use_typmod=true - Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints This ensures they will be registered correctly in geometry_columns view. By default will convert all geometry columns with no type modifier to ones with type modifiers. To get old behavior set use_typmod=false

ot_rw_devicealert_keepcount() FUNCTION PLPGSQL false trigger INVOKER
geometry(geometry, integer, boolean) FUNCTION C true geometry INVOKER
_st_contains(geometry, geometry) FUNCTION C true boolean INVOKER
st_point_inside_circle(geometry, double precision, double precision, double precision) FUNCTION C true boolean INVOKER

args: a_point, center_x, center_y, radius - Is the point geometry insert circle defined by center_x, center_y, radius

st_symmetricdifference(geometry, geometry) FUNCTION C true geometry INVOKER
geometry_distance_centroid(geometry, geometry) FUNCTION C true double precision INVOKER
file_fdw_validator(text[], oid) FUNCTION C false void INVOKER
ot_ro_unit_perf_day(integer, date, date) FUNCTION PLPROXY false SETOF record INVOKER
postgis_constraint_dims(text, text, text) FUNCTION SQL false integer INVOKER
hstore_cmp(hstore, hstore) FUNCTION C true integer INVOKER
dw_daily_activity_summarized(character varying[], timestamp with time zone, timestamp with time zone, integer) FUNCTION SQL false SETOF record INVOKER
st_equals(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns true if the given geometries represent the same geometry. Directionality is ignored.

box3d_in(cstring) FUNCTION C true box3d INVOKER
st_mpolyfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not give, it defaults to -1.

st_perimeter(geometry) FUNCTION C true double precision INVOKER

args: g1 - Return the length measurement of the boundary of an ST_Surface or ST_MultiSurface geometry or geography. (Polygon, Multipolygon). geometry measurement is in units of spatial reference and geography is in meters.

ot_ro_get_location_tmp(double precision, double precision, integer) FUNCTION PLPGSQL false hstore INVOKER
st_dwithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance_of_srid - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

st_hausdorffdistance(geometry, geometry, double precision) FUNCTION C true double precision INVOKER

args: g1, g2, densifyFrac - Returns the Hausdorff distance between two geometries. Basically a measure of how similar or dissimilar 2 geometries are. Units are in the units of the spatial reference system of the geometries.

ot_rw_event_part_by_iddevice() FUNCTION PLPGSQL false trigger INVOKER
st_linestringfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER

args: WKB, srid - Makes a geometry from WKB with the given SRID.

_st_3dintersects(geometry, geometry) FUNCTION C true boolean INVOKER
_st_equals(geometry, geometry) FUNCTION C true boolean INVOKER
ot_rw_commandexec_setstatusto4(integer) FUNCTION PLPGSQL false boolean DEFINER
get_psutil_cpu() FUNCTION PLPYTHONU false record DEFINER

created for pgwatch2

ot_rw_tg_reject_del_mdw() FUNCTION PLPGSQL false trigger INVOKER
st_addpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: linestring, point - Adds a point to a LineString before point (0-based index).

ot_ro_has_privilege(character varying, character varying) FUNCTION SQL false SETOF character varying INVOKER
ot_rw_pgnotify_newevent() FUNCTION PLPGSQL false trigger INVOKER
geometry(box3d) FUNCTION C true geometry INVOKER
st_iscollection(geometry) FUNCTION C true boolean INVOKER

args: g - Returns TRUE if the argument is a collection (MULTI*, GEOMETRYCOLLECTION, …)

uuid_ns_url() FUNCTION C true uuid INVOKER
ot_ro_arraysum(double precision[]) FUNCTION PLPGSQL false double precision INVOKER
geometry_gist_picksplit_nd(internal, internal) FUNCTION C false internal INVOKER
ot_ro_dw_get_fuelreport_agg(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
ot_ro_get_location_shared(double precision, double precision, integer) FUNCTION PLPGSQL false hstore INVOKER
rboolop(query_int, integer[]) FUNCTION C true boolean INVOKER

boolean operation with array

ot_rw_monitor_partitions_alert(interval) FUNCTION PLPGSQL false boolean DEFINER
st_polygonfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to -1.

st_removepoint(geometry, integer) FUNCTION C true geometry INVOKER

args: linestring, offset - Removes point from a linestring. Offset is 0-based.

_st_buffer(geometry, double precision, cstring) FUNCTION C true geometry INVOKER
hstore_to_matrix(hstore) FUNCTION C true ARRAY INVOKER
ot_ro_ecm_rawdata(character varying, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
ot_rw_fscommandstatusfix() FUNCTION PLPGSQL false integer DEFINER
_st_maxdistance(geometry, geometry) FUNCTION C true double precision INVOKER
st_distance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - For geometry type Returns the 2-dimensional cartesian minimum distance (based on spatial ref) between two geometries in projected units. For geography type defaults to return spheroidal minimum distance between two geographies in meters.

hstore_eq(hstore, hstore) FUNCTION C true boolean INVOKER
ot_ro_ttg_health(interval) FUNCTION PLPGSQL false SETOF record INVOKER
ot_rw_createchildpart_alert(date) FUNCTION PLPGSQL false boolean DEFINER
hs_contains(hstore, hstore) FUNCTION C true boolean INVOKER
st_interiorringn(geometry, integer) FUNCTION C true geometry INVOKER

args: a_polygon, n - Return the Nth interior linestring ring of the polygon geometry. Return NULL if the geometry is not a polygon or the given N is out of range.

g_int_same(integer[], integer[], internal) FUNCTION C true internal INVOKER
ot_rw_create_helpdesk_user(integer, character varying) FUNCTION PLPGSQL false integer INVOKER
ot_rw_createrole_admin() FUNCTION PLPGSQL false trigger INVOKER
tg_fw_update_device() FUNCTION PLPGSQL false trigger DEFINER
st_relate(geometry, geometry, text) FUNCTION C true boolean INVOKER

args: geomA, geomB, intersectionMatrixPattern - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

g_intbig_consistent(internal, internal, integer, oid, internal) FUNCTION C true boolean INVOKER
geometry_above(geometry, geometry) FUNCTION C true boolean INVOKER
postgis_typmod_dims(integer) FUNCTION C true integer INVOKER
st_buffer(geography, double precision) FUNCTION SQL true geography INVOKER

args: g1, radius_of_buffer_in_meters - (T) For geometry: Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry. For geography: Uses a planar transform wrapper. Introduced in 1.5 support for different end cap and mitre settings to control shape. buffer_style options: quad_segs=#,endcap=round|flat|square,join=round|mitre|bevel,mitre_limit=#.#

box(geometry) FUNCTION C true box INVOKER
st_asgml(geometry, integer, integer) FUNCTION SQL true text INVOKER

args: geom, maxdecimaldigits=15, options=0 - Return the geometry as a GML version 2 or 3 element.

st_hausdorffdistance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - Returns the Hausdorff distance between two geometries. Basically a measure of how similar or dissimilar 2 geometries are. Units are in the units of the spatial reference system of the geometries.

st_sharedpaths(geometry, geometry) FUNCTION C true geometry INVOKER

args: lineal1, lineal2 - Returns a collection containing paths shared by the two input linestrings/multilinestrings.

ot_rw_preference_set() FUNCTION PLPGSQL false SETOF integer INVOKER
st_astext(geometry) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata.

pgfadvise_normal(regclass) FUNCTION SQL false SETOF record INVOKER
st_mpointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
postgis_libxml_version() FUNCTION C true text INVOKER

Returns the version number of the libxml2 library.

geometry(bytea) FUNCTION C true geometry INVOKER
st_centroid(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns the geometric center of a geometry.

st_line_locate_point(geometry, geometry) FUNCTION SQL true double precision INVOKER

args: a_linestring, a_point - Returns a float between 0 and 1 representing the location of the closest point on LineString to the given Point, as a fraction of total 2d line length.

pgfincore(regclass, boolean) FUNCTION SQL false SETOF record INVOKER
st_askml(text) FUNCTION SQL true text INVOKER
ot_ro_get_location(double precision, double precision, integer) FUNCTION PLPGSQL false hstore INVOKER
ot_ro_mexico_carreteras(real, real) FUNCTION SQL false SETOF record INVOKER
postgis_lib_build_date() FUNCTION C true text INVOKER

Returns build date of the PostGIS library.

st_zmax(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Z minima of a bounding box 2d or 3d or a geometry.

ot_rw_kill_onlinereports() FUNCTION SQL false boolean DEFINER
dw_fact_activity(character varying, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
st_mpolyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
ot_ro_moytttracto(interval) FUNCTION PLPGSQL false SETOF record INVOKER
postgis_geos_version() FUNCTION C true text INVOKER

Returns the version number of the GEOS library.

geography_eq(geography, geography) FUNCTION C true boolean INVOKER
_st_covers(geography, geography) FUNCTION C true boolean INVOKER
geometry_within(geometry, geometry) FUNCTION C true boolean INVOKER
geometry_out(geometry) FUNCTION C true cstring INVOKER
postgis_scripts_installed() FUNCTION SQL true text INVOKER

Returns version of the postgis scripts installed in this database.

get_psutil_meminfo() FUNCTION PLPYTHONU false record DEFINER

created for pgwatch2

ot_rw_insert_event_temperature(bigint, integer, integer, timestamp with time zone, real[], numeric, numeric, hstore, integer, integer) FUNCTION PLPGSQL false void DEFINER
_int_same(integer[], integer[]) FUNCTION C true boolean INVOKER

same as

st_expand(geometry, double precision) FUNCTION C true geometry INVOKER

args: g1, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

pg_buffercache_pages() FUNCTION C false SETOF record INVOKER
geometry_below(geometry, geometry) FUNCTION C true boolean INVOKER
ot_rw_mark_client_alerts(integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false bigint INVOKER
st_force3dm(geometry) FUNCTION C true geometry INVOKER
ot_rw_reprocess_dw() FUNCTION PLPGSQL false void INVOKER
st_forcerhr(geometry) FUNCTION C true geometry INVOKER

args: g - Forces the orientation of the vertices in a polygon to follow the Right-Hand-Rule.

geometry_left(geometry, geometry) FUNCTION C true boolean INVOKER
crosstab(text) FUNCTION C false SETOF record INVOKER
st_3ddfullywithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance - Returns true if all of the 3D geometries are within the specified distance of one another.

crosstab(text, integer) FUNCTION C false SETOF record INVOKER
st_issimple(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns (TRUE) if this Geometry has no anomalous geometric points, such as self intersection or self tangency.

st_disjoint(geometry, geometry) FUNCTION C true boolean INVOKER

args: A, B - Returns TRUE if the Geometries do not “spatially intersect” - if they do not share any space together.

st_asewkb(geometry) FUNCTION C true bytea INVOKER

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.

ot_ro_driver_summarized_trip_v2(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
st_mlinefromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_curvetoline(geometry) FUNCTION SQL true geometry INVOKER

args: curveGeom - Converts a CIRCULARSTRING/CURVEDPOLYGON to a LINESTRING/POLYGON

reapply_privileges(text) FUNCTION PLPGSQL false void DEFINER
st_bdmpolyfromtext(text, integer) FUNCTION PLPGSQL true geometry INVOKER

args: WKT, srid - Construct a MultiPolygon given an arbitrary collection of closed linestrings as a MultiLineString text representation Well-Known text representation.

ot_rw_ovmrecon_productonom() FUNCTION PLPGSQL false integer INVOKER
ot_rw_createaccount(character varying, character varying, integer, character varying, integer) FUNCTION SQL false integer INVOKER
st_geohash(geometry, integer) FUNCTION C true text INVOKER

args: geom, maxchars=full_precision_of_point - Return a GeoHash representation (geohash.org) of the geometry.

event_copy_ecm() FUNCTION PLPGSQL false trigger INVOKER
ot_rw_insert_event_temperature(bigint, integer, integer, timestamp with time zone, real[], numeric, numeric, hstore) FUNCTION PLPGSQL false void DEFINER
ot_ro_addarray(integer[], integer[]) FUNCTION SQL false ARRAY INVOKER
pg_stat_activity() FUNCTION SQL false SETOF pg_stat_activity DEFINER
intset_union_elem(integer[], integer) FUNCTION C true ARRAY INVOKER
pgfadvise_loader(regclass, text, integer, boolean, boolean, bit varying) FUNCTION C false SETOF record INVOKER
st_pointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
ot_ro_arraydiv(integer[], real) FUNCTION SQL false ARRAY INVOKER
geography_gist_consistent(internal, geography, integer) FUNCTION C false boolean INVOKER
sort_asc(integer[]) FUNCTION C true ARRAY INVOKER
geofence_history_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
ot_ro_event_cassandra_proxy_tmp(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPYTHONU false SETOF record INVOKER
geometry_distance_box(geometry, geometry) FUNCTION C true double precision INVOKER
geometry_gist_consistent_nd(internal, geometry, integer) FUNCTION C false boolean INVOKER
st_mpolyfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not give, it defaults to -1.

ot_ro_tps(integer) FUNCTION PLPGSQL false integer INVOKER
dw_ems_event_ecm(timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
st_geogfromwkb(bytea) FUNCTION C true geography INVOKER

args: geom - Creates a geography instance from a Well-Known Binary geometry representation (WKB) or extended Well Known Binary (EWKB).

st_geomfromtext(text) FUNCTION C true geometry INVOKER

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT).

st_closestpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 2-dimensional point on g1 that is closest to g2. This is the first point of the shortest line.

ot_rw_enable_chapas(character varying) FUNCTION PLPGSQL false integer DEFINER
st_touches(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: g1, g2 - Returns TRUE if the geometries have at least one point in common, but their interiors do not intersect.

last(anyelement) AGGREGATE INTERNAL true anyelement INVOKER
check_partition_type(text) FUNCTION PLPGSQL true boolean DEFINER
st_asx3d(geometry, integer, integer) FUNCTION SQL true text INVOKER
path(geometry) FUNCTION C true path INVOKER
crosstab2(text) FUNCTION C false SETOF tablefunc_crosstab_2 INVOKER
ot_ro_afc_ws_unitfuel_current(character varying) FUNCTION PLPROXY false SETOF record INVOKER
st_dfullywithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance - Returns true if all of the geometries are within the specified distance of one another

plproxy_call_handler() FUNCTION C false language_handler INVOKER
_intbig_in(cstring) FUNCTION C true intbig_gkey INVOKER
postgis_constraint_type(text, text, text) FUNCTION SQL false character varying INVOKER
ot_ro_fast_event_tmp(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF event INVOKER
ot_rw_insert_event_temperature(bigint, integer, integer, timestamp with time zone, real[], numeric, numeric, hstore, integer) FUNCTION PLPGSQL false void DEFINER
postgres_fdw_handler() FUNCTION C false fdw_handler INVOKER
st_delaunaytriangles(geometry, double precision, integer) FUNCTION C true geometry INVOKER
ot_rw_commandexec_setstatus(character varying, integer, integer) FUNCTION PLPGSQL false boolean DEFINER
st_affine(geometry, double precision, double precision, double precision, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, a, b, d, e, xoff, yoff - Applies a 3d affine transformation to the geometry to do things like translate, rotate, scale in one step.

pgstattuple_approx(regclass) FUNCTION C false record INVOKER
hstore(text[]) FUNCTION C true hstore INVOKER
ot_ro_afc_get_geofence(character varying, double precision, double precision) FUNCTION PLPROXY false SETOF record INVOKER
delete(hstore, text[]) FUNCTION C true hstore INVOKER
get_stat_replication() FUNCTION SQL false SETOF pg_stat_replication DEFINER

created for pgwatch2

geography_gist_decompress(internal) FUNCTION C false internal INVOKER
st_perimeter(geography, boolean) FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Return the length measurement of the boundary of an ST_Surface or ST_MultiSurface geometry or geography. (Polygon, Multipolygon). geometry measurement is in units of spatial reference and geography is in meters.

pgis_abs_in(cstring) FUNCTION C true pgis_abs INVOKER
uuid_nil() FUNCTION C true uuid INVOKER
partition_data_time(text, integer, interval, numeric, text, boolean) FUNCTION PLPGSQL false bigint DEFINER
_st_bestsrid(geography) FUNCTION SQL true integer INVOKER
event_p2016w17_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
gtrgm_same(gtrgm, gtrgm, internal) FUNCTION C true internal INVOKER
similarity(text, text) FUNCTION C true real INVOKER
st_length(geography, boolean) FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Returns the 2d length of the geometry if it is a linestring or multilinestring. geometry are in units of spatial reference and geography are in meters (default spheroid)

ot_ro_arraydiv(real[], real) FUNCTION SQL false ARRAY INVOKER
subarray(integer[], integer) FUNCTION C true ARRAY INVOKER
geometry_cmp(geometry, geometry) FUNCTION C true integer INVOKER
geography_typmod_out(integer) FUNCTION C true cstring INVOKER
geometry_typmod_in(cstring[]) FUNCTION C true integer INVOKER
st_combine_bbox(box3d, geometry) FUNCTION C true box3d INVOKER
st_expand(box3d, double precision) FUNCTION C true box3d INVOKER

args: g1, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

ot_rw_insert_alert2notviewed() FUNCTION PLPGSQL false trigger INVOKER
ot_ro_pos_codes(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
ot_ro_getuseralertcount(integer) FUNCTION SQL false SETOF record DEFINER
sort_desc(integer[]) FUNCTION C true ARRAY INVOKER
get_psutil_disk() FUNCTION PLPYTHONU false SETOF record DEFINER

created for pgwatch2

st_point(double precision, double precision) FUNCTION C true geometry INVOKER

args: x_lon, y_lat - Returns an ST_Point with the given coordinate values. OGC alias for ST_MakePoint.

_final_median(numeric[]) FUNCTION SQL true numeric INVOKER
geometry(point) FUNCTION C true geometry INVOKER
st_boundary(geometry) FUNCTION C true geometry INVOKER

args: geomA - Returns the closure of the combinatorial boundary of this Geometry.

ot_ro_get_fls(character varying, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
randompoint(geometry, integer) FUNCTION PLPGSQL false geometry INVOKER
postgis_noop(geometry) FUNCTION C false geometry INVOKER
st_memunion(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geomfield - Same as ST_Union, only memory-friendly (uses less memory and more processor time).

st_node(geometry) FUNCTION C true geometry INVOKER

args: geom - Node a set of linestrings.

st_split(geometry, geometry) FUNCTION C true geometry INVOKER

args: input, blade - Returns a collection of geometries resulting by splitting a geometry.

ot_ro_get_alerts_by_user(integer, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
gtrgm_in(cstring) FUNCTION C true gtrgm INVOKER
geography_send(geography) FUNCTION C true bytea INVOKER
st_buffer(text, double precision) FUNCTION SQL true geometry INVOKER
apply_privileges(text, text, text, text, bigint) FUNCTION PLPGSQL false void DEFINER
ot_rw_shipperconf_unitstodefaultcoverage() FUNCTION PLPGSQL false integer DEFINER
pgfadvise_loader(regclass, integer, boolean, boolean, bit varying) FUNCTION SQL false SETOF record INVOKER
postgis_addbbox(geometry) FUNCTION C true geometry INVOKER

args: geomA - Add bounding box to the geometry.

mode(anyelement) AGGREGATE INTERNAL true anyelement INVOKER
st_multipolygonfromtext(text, integer) FUNCTION SQL true geometry INVOKER
ot_ro_monitor_alert_recent() FUNCTION PLPGSQL false integer DEFINER
st_3dlongestline(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 3-dimensional longest line between two geometries

pg_stat_statements(boolean) FUNCTION C false SETOF record INVOKER
ot_ro_aggaddarray(real[]) AGGREGATE INTERNAL true ARRAY INVOKER
_postgis_selectivity(regclass, text, geometry, text) FUNCTION C false double precision INVOKER
crosstab3(text) FUNCTION C false SETOF tablefunc_crosstab_3 INVOKER
enablelongtransactions() FUNCTION PLPGSQL false text INVOKER

Enable long transaction support. This function creates the required metadata tables, needs to be called once before using the other functions in this section. Calling it twice is harmless.

st_numgeometries(geometry) FUNCTION C true integer INVOKER

args: geom - If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, for single geometries will return 1, otherwise return NULL.

st_3dmaxdistance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - For geometry type Returns the 3-dimensional cartesian maximum distance (based on spatial ref) between two geometries in projected units.

st_asewkt(geography) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry with SRID meta data.

ot_rw_ovmrecon_phone() FUNCTION PLPGSQL false SETOF character varying INVOKER
_int_different(integer[], integer[]) FUNCTION C true boolean INVOKER

different

check_name_length(text, text, boolean) FUNCTION PLPGSQL true text DEFINER
st_ashexewkb(geometry) FUNCTION C true text INVOKER

args: g1 - Returns a Geometry in HEXEWKB format (as text) using either little-endian (NDR) or big-endian (XDR) encoding.

geometry_recv(internal) FUNCTION C true geometry INVOKER
tg_insert_event() FUNCTION PLPGSQL false trigger INVOKER
st_geomfromwkb(bytea) FUNCTION C true geometry INVOKER

args: geom - Makes a geometry from WKB with the given SRID

st_addmeasure(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: geom_mline, measure_start, measure_end - Return a derived geometry with measure elements linearly interpolated between the start and end points. If the geometry has no measure dimension, one is added. If the geometry has a measure dimension, it is over-written with new values. Only LINESTRINGS and MULTILINESTRINGS are supported.

st_segmentize(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, max_length - Return a modified geometry having no segment longer than the given distance. Distance computation is performed in 2d only.

st_ashexewkb(geometry, text) FUNCTION C true text INVOKER

args: g1, NDRorXDR - Returns a Geometry in HEXEWKB format (as text) using either little-endian (NDR) or big-endian (XDR) encoding.

st_intersects(text, text) FUNCTION SQL true boolean INVOKER
ot_ro_get_location_local_v3(double precision, double precision) FUNCTION PLPGSQL false hstore DEFINER
st_geogfromtext(text) FUNCTION C true geography INVOKER

args: EWKT - Return a specified geography value from Well-Known Text representation or extended (WKT).

create_trigger(text) FUNCTION PLPGSQL false void DEFINER
populate_record(anyelement, hstore) FUNCTION C true anyelement INVOKER
pgfincore(regclass) FUNCTION SQL false SETOF record INVOKER
st_coorddim(geometry) FUNCTION C true smallint INVOKER

args: geomA - Return the coordinate dimension of the ST_Geometry value.

st_askml(geometry, integer) FUNCTION SQL true text INVOKER

args: geom, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

st_symdifference(geometry, geometry) FUNCTION C true geometry INVOKER

args: geomA, geomB - Returns a geometry that represents the portions of A and B that do not intersect. It is called a symmetric difference because ST_SymDifference(A,B) = ST_SymDifference(B,A).

st_askml(integer, geometry, integer, text) FUNCTION SQL true text INVOKER

args: version, geom, maxdecimaldigits=15, nprefix=NULL - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

geometry_same(geometry, geometry) FUNCTION C true boolean INVOKER
dw_daily_activity_summarized(timestamp with time zone, timestamp with time zone, integer) FUNCTION PLPGSQL false SETOF record INVOKER
st_estimatedextent(text, text, text) FUNCTION C true box2d DEFINER
st_forcecollection(geometry) FUNCTION C true geometry INVOKER
geography_gist_penalty(internal, internal, internal) FUNCTION C false internal INVOKER
ot_rw_insert_geofence_history(integer, integer[], timestamp with time zone) FUNCTION PLPGSQL false geofence_history_archive INVOKER
geometry(text) FUNCTION C true geometry INVOKER
postgis_libjson_version() FUNCTION C true text INVOKER
ot_rw_create_operadores_user_tg() FUNCTION PLPGSQL false trigger INVOKER
st_locate_between_measures(geometry, double precision, double precision) FUNCTION C true geometry INVOKER
postgres_fdw_validator(text[], oid) FUNCTION C false void INVOKER
st_buildarea(geometry) FUNCTION C true geometry INVOKER

args: A - Creates an areal geometry formed by the constituent linework of given geometry

st_length_spheroid(geometry, spheroid) FUNCTION C true double precision INVOKER

args: a_linestring, a_spheroid - Calculates the 2D or 3D length of a linestring/multilinestring on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.

geometry(path) FUNCTION C true geometry INVOKER
st_astext(geography) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata.

connectby(text, text, text, text, text, integer, text) FUNCTION C false SETOF record INVOKER
undo_partition(text, integer, boolean, boolean, numeric) FUNCTION PLPGSQL false record DEFINER
st_rotate(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians counter-clockwise about an origin.

ot_rw_noupdate() FUNCTION PLPGSQL false trigger DEFINER
ot_ro_report_sar_agg(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
ot_rw_commandexec_updatestatusts() FUNCTION PLPGSQL false trigger INVOKER
ot_rw_alerts_markviewed(date) FUNCTION PLPGSQL false integer INVOKER
st_force_4d(geometry) FUNCTION SQL true geometry INVOKER

args: geomA - Forces the geometries into XYZM mode.

st_m(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the M coordinate of the point, or NULL if not available. Input must be a point.

st_line_interpolate_point(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: a_linestring, a_fraction - Returns a point interpolated along a line. Second argument is a float8 between 0 and 1 representing fraction of total length of linestring the point has to be located.

st_concavehull(geometry, double precision, boolean) FUNCTION PLPGSQL true geometry INVOKER

args: geomA, target_percent, allow_holes=false - The concave hull of a geometry represents a possibly concave geometry that encloses all geometries within the set. You can think of it as shrink wrapping.

ot_ro_summarize_activity(character varying[], timestamp with time zone, timestamp with time zone, integer) FUNCTION PLPGSQL false SETOF record INVOKER
ot_ro_summarize_activity_driver(character varying, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
st_snap(geometry, geometry, double precision) FUNCTION C true geometry INVOKER

args: input, reference, tolerance - Snap segments and vertices of input geometry to vertices of a reference geometry.

ot_ro_overrpm(real[], integer) FUNCTION PLPGSQL false real INVOKER
set_limit(real) FUNCTION C false real INVOKER
st_geomfromgeohash(text, integer) FUNCTION SQL true geometry INVOKER
ot_rw_insert_event_temperature(bigint, integer, timestamp with time zone, real[], numeric, numeric, hstore) FUNCTION PLPGSQL false void DEFINER
st_line_substring(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: a_linestring, startfraction, endfraction - Return a linestring being a substring of the input one starting and ending at the given fractions of total 2d length. Second and third arguments are float8 values between 0 and 1.

g_intbig_union(internal, internal) FUNCTION C true ARRAY INVOKER
check_control_type(text, text, text) FUNCTION SQL false SETOF record DEFINER
lockrow(text, text, text, text, timestamp without time zone) FUNCTION PLPGSQL false integer INVOKER

args: a_schema_name, a_table_name, a_row_key, an_auth_token, expire_dt - Set lock/authorization for specific row in table

_st_bestsrid(geography, geography) FUNCTION C true integer INVOKER
gtrgm_picksplit(internal, internal) FUNCTION C true internal INVOKER
hs_contained(hstore, hstore) FUNCTION C true boolean INVOKER
st_snaptogrid(geometry, double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, originX, originY, sizeX, sizeY - Snap all points of the input geometry to a regular grid.

ot_ro_move_status_agg(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
st_astext(text) FUNCTION SQL true text INVOKER
st_3dperimeter(geometry) FUNCTION C true double precision INVOKER

args: geomA - Returns the 3-dimensional perimeter of the geometry, if it is a polygon or multi-polygon.

ot_ro_afc_ws_alert(character varying, timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
longtransactionsenabled() FUNCTION PLPGSQL false boolean INVOKER
geography_overlaps(geography, geography) FUNCTION C true boolean INVOKER
st_asbinary(geometry, text) FUNCTION C true bytea INVOKER

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

st_forcesfs(geometry) FUNCTION C true geometry INVOKER
st_mlinefromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Return a specified ST_MultiLineString value from WKT representation.

pgsysconf_pretty() FUNCTION SQL false record INVOKER
omni_ro_insert_geofence_history(integer, integer[], timestamp with time zone) FUNCTION PLPGSQL false geofence_history_archive INVOKER
st_z(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the Z coordinate of the point, or NULL if not available. Input must be a point.

uuid_ns_dns() FUNCTION C true uuid INVOKER
st_fishnet(text, text, double precision) FUNCTION PLPGSQL false SETOF geometry INVOKER
st_polyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
postgis_scripts_build_date() FUNCTION SQL true text INVOKER

Returns build date of the PostGIS scripts.

ghstore_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
postgis_getbbox(geometry) FUNCTION C true box2d INVOKER
pgis_geometry_makeline_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
median(anyelement) AGGREGATE INTERNAL true double precision INVOKER
ecmevent_parameter_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
ot_rw_message_cancel_old(interval) FUNCTION PLPGSQL false bigint INVOKER
st_area(geography, boolean) FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Returns the area of the surface if it is a polygon or multi-polygon. For “geometry” type area is in SRID units. For “geography” area is in square meters.

get_stat_statements() FUNCTION SQL false SETOF pg_stat_statements DEFINER

created for pgwatch2

show_limit() FUNCTION C false real INVOKER
ot_ro_qos_durmientes(integer, interval, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
ot_ro_position(integer, timestamp without time zone, timestamp without time zone) FUNCTION SQL false SETOF record INVOKER
show_trgm(text) FUNCTION C true ARRAY INVOKER
unlockrows(text) FUNCTION PLPGSQL false integer INVOKER

args: auth_token - Remove all locks held by specified authorization id. Returns the number of locks released.

kml_concat(text, geometry) FUNCTION SQL true text INVOKER
ot_insert_default_config_colombia() FUNCTION SQL false void DEFINER
file_fdw_handler() FUNCTION C false fdw_handler INVOKER
_st_asgeojson(integer, geography, integer, integer) FUNCTION C true text INVOKER
st_asewkt(geometry) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry with SRID meta data.

addgeometrycolumn(character varying, character varying, integer, character varying, integer, boolean) FUNCTION PLPGSQL false text INVOKER

args: table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

st_geomfromtext(text, integer) FUNCTION C true geometry INVOKER

args: WKT, srid - Return a specified ST_Geometry value from Well-Known Text representation (WKT).

create_partition_id(text, bigint[], boolean, boolean) FUNCTION PLPGSQL false boolean DEFINER
st_hasarc(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns true if a geometry or geometry collection contains a circular string

ot_ro_ecmreport_headers(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
ot_rw_insert_event_arch(integer, numeric, numeric, real, numeric, timestamp with time zone) FUNCTION SQL false bigint INVOKER
ot_ro_fast_plainmsg(integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF fast_plainmsg INVOKER
_st_dwithin(geography, geography, double precision, boolean) FUNCTION C true boolean INVOKER
ot_ro_baddelay1(date) FUNCTION SQL false SETOF record INVOKER
st_polyfromtext(text) FUNCTION SQL true geometry INVOKER
as_kmldoc(geometry, anyelement, anyelement) AGGREGATE INTERNAL true text INVOKER
drop_partition_id(text, bigint, boolean, boolean, text) FUNCTION PLPGSQL false integer DEFINER
gin_trgm_consistent(internal, smallint, text, integer, internal, internal, internal, internal) FUNCTION C true boolean INVOKER
ot_ro_activity_report_pos_original(integer[], timestamp with time zone, timestamp with time zone, boolean, boolean) FUNCTION PLPGSQL false SETOF record INVOKER
st_setpoint(geometry, integer, geometry) FUNCTION C true geometry INVOKER

args: linestring, zerobasedposition, point - Replace point N of linestring with given point. Index is 0-based.

run_maintenance(text, boolean, boolean, boolean) FUNCTION PLPGSQL false void DEFINER
st_polygonfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to -1.

gtrgm_compress(internal) FUNCTION C true internal INVOKER
difference(text, text) FUNCTION C true integer INVOKER
ot_ro_dw_geofence_activity(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
st_maxdistance(geometry, geometry) FUNCTION SQL true double precision INVOKER

args: g1, g2 - Returns the 2-dimensional largest distance between two geometries in projected units.

ot_rw_copy2broker_ecmevent_parameter() FUNCTION PLPGSQL false trigger INVOKER
ot_rw_commandsdisableolder() FUNCTION PLPGSQL false trigger INVOKER
pgis_abs_out(pgis_abs) FUNCTION C true cstring INVOKER
spheroid_in(cstring) FUNCTION C true spheroid INVOKER
pgstatindex(text) FUNCTION C false record INVOKER
st_geomfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER

args: geom, srid - Makes a geometry from WKB with the given SRID

ot_ro_get_fls(timestamp with time zone) FUNCTION SQL false SETOF record DEFINER
_st_within(geometry, geometry) FUNCTION SQL true boolean INVOKER
ot_ro_command_delay(character varying, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
geometry_overbelow(geometry, geometry) FUNCTION C true boolean INVOKER
each(hstore) FUNCTION C true SETOF record INVOKER
create_sub_parent(text, text, text, text, text, text[], integer, text, boolean, text, text, boolean, boolean, boolean) FUNCTION PLPGSQL false boolean DEFINER
ghstore_out(ghstore) FUNCTION C true cstring INVOKER
box2df_out(box2df) FUNCTION C true cstring INVOKER
st_within(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns true if the geometry A is completely inside geometry B

ot_ro_event_cassandra(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPYTHONU false SETOF record INVOKER
st_distance(geography, geography) FUNCTION SQL true double precision INVOKER

args: gg1, gg2 - For geometry type Returns the 2-dimensional cartesian minimum distance (based on spatial ref) between two geometries in projected units. For geography type defaults to return spheroidal minimum distance between two geographies in meters.

show_partition_name(text, text) FUNCTION PLPGSQL false record INVOKER
st_geomfromkml(text) FUNCTION C true geometry INVOKER

args: geomkml - Takes as input KML representation of geometry and outputs a PostGIS geometry object

gserialized_gist_joinsel_2d(internal, oid, internal, smallint) FUNCTION C false double precision INVOKER
geography_gt(geography, geography) FUNCTION C true boolean INVOKER
levenshtein_less_equal(text, text, integer) FUNCTION C true integer INVOKER
st_distance_spheroid(geometry, geometry, spheroid) FUNCTION C true double precision INVOKER

args: geomlonlatA, geomlonlatB, measurement_spheroid - Returns the minimum distance between two lon/lat geometries given a particular spheroid. PostGIS versions prior to 1.5 only support points.

st_summary(geometry) FUNCTION C true text INVOKER

args: g - Returns a text summary of the contents of the geometry.

_st_dwithinuncached(geography, geography, double precision) FUNCTION SQL true boolean INVOKER
ot_rw_insert_event_arch(integer, numeric, numeric, real, real, timestamp with time zone, smallint, smallint, real, smallint, hstore, bigint) FUNCTION SQL false bigint DEFINER
_final_mode(anyarray) FUNCTION SQL true anyelement INVOKER
ot_rw_maint_alert_recent_drop_old() FUNCTION PLPGSQL false boolean DEFINER
icount(integer[]) FUNCTION C true integer INVOKER
geography_recv(internal, oid, integer) FUNCTION C true geography INVOKER
st_numpatches(geometry) FUNCTION SQL true integer INVOKER

args: g1 - Return the number of faces on a Polyhedral Surface. Will return null for non-polyhedral geometries.

st_translate(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: g1, deltax, deltay - Translates the geometry to a new location using the numeric parameters as offsets. Ie: ST_Translate(geom, X, Y) or ST_Translate(geom, X, Y,Z).

ghstore_same(internal, internal, internal) FUNCTION C true internal INVOKER
hs_concat(hstore, hstore) FUNCTION C true hstore INVOKER
st_collectionhomogenize(geometry) FUNCTION C true geometry INVOKER

args: collection - Given a geometry collection, returns the “simplest” representation of the contents.

g_intbig_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_area(geometry) FUNCTION C true double precision INVOKER

args: g1 - Returns the area of the surface if it is a polygon or multi-polygon. For “geometry” type area is in SRID units. For “geography” area is in square meters.

st_coveredby(geography, geography) FUNCTION SQL true boolean INVOKER

args: geogA, geogB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B

st_makeline(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geoms - Creates a Linestring from point or line geometries.

st_minimumboundingcircle(geometry, integer) FUNCTION PLPGSQL true geometry INVOKER

args: geomA, num_segs_per_qt_circ=48 - Returns the smallest circle polygon that can fully contain a geometry. Default uses 48 segments per quarter circle.

_st_asx3d(integer, geometry, integer, integer, text) FUNCTION C true text INVOKER
gtrgm_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
ot_ro_activity_report_pos(integer[], timestamp with time zone, timestamp with time zone, boolean, boolean) FUNCTION PLPGSQL false SETOF record INVOKER
_st_distanceuncached(geography, geography, boolean) FUNCTION SQL true double precision INVOKER
undo_partition_native(text, text, integer, text, boolean, numeric) FUNCTION PLPGSQL false record DEFINER
st_dumppoints(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: geom - Returns a set of geometry_dump (geom,path) rows of all points that make up a geometry.

st_force4d(geometry) FUNCTION C true geometry INVOKER
st_transform(geometry, integer) FUNCTION C true geometry INVOKER

args: g1, srid - Returns a new geometry with its coordinates transformed to the SRID referenced by the integer parameter.

ot_ro_report_sar_citus(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
delete(hstore, hstore) FUNCTION C true hstore INVOKER
ot_ro_genctrlcode() FUNCTION PLPGSQL false trigger INVOKER
pgfadvise_dontneed(regclass) FUNCTION SQL false SETOF record INVOKER
st_isvalid(geometry, integer) FUNCTION SQL true boolean INVOKER

args: g, flags - Returns true if the ST_Geometry is well formed.

st_forcesfs(geometry, text) FUNCTION C true geometry INVOKER
st_multipointfromtext(text) FUNCTION SQL true geometry INVOKER
geometry_overabove(geometry, geometry) FUNCTION C true boolean INVOKER
st_intersects(geography, geography) FUNCTION SQL true boolean INVOKER

args: geogA, geogB - Returns TRUE if the Geometries/Geography “spatially intersect in 2D” - (share any portion of space) and FALSE if they dont (they are Disjoint). For geography – tolerance is 0.00001 meters (so any points that close are considered to intersect)

geometry_gist_compress_2d(internal) FUNCTION C false internal INVOKER
_st_dwithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
lockrow(text, text, text, text) FUNCTION SQL false integer INVOKER
st_length2d(geometry) FUNCTION C true double precision INVOKER

args: a_2dlinestring - Returns the 2-dimensional length of the geometry if it is a linestring or multi-linestring. This is an alias for ST_Length

ot_rw_commandexec_setstatusto4(character varying, integer) FUNCTION PLPGSQL false boolean DEFINER
postgis_full_version() FUNCTION PLPGSQL true text INVOKER

Reports full postgis version and build configuration infos.

ot_rw_maint_alert_trigger() FUNCTION PLPGSQL false void DEFINER
st_mpolyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
ot_ro_get_location(double precision, double precision) FUNCTION PLPGSQL false hstore DEFINER
_st_containsproperly(geometry, geometry) FUNCTION C true boolean INVOKER
geography_analyze(internal) FUNCTION C false boolean INVOKER
ot_ro_misplacedunitscount() FUNCTION SQL false integer INVOKER
ot_rw_maint_alert_recent() FUNCTION PLPGSQL false boolean DEFINER
dropgeometrycolumn(character varying, character varying, character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: catalog_name, schema_name, table_name, column_name - Removes a geometry column from a spatial table.

populate_geometry_columns(boolean) FUNCTION PLPGSQL false text INVOKER

args: use_typmod=true - Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints This ensures they will be registered correctly in geometry_columns view. By default will convert all geometry columns with no type modifier to ones with type modifiers. To get old behavior set use_typmod=false

gidx_out(gidx) FUNCTION C true cstring INVOKER
ot_ro_multarray(real[], real) FUNCTION SQL false ARRAY INVOKER
st_3dlength(geometry) FUNCTION C true double precision INVOKER

args: a_3dlinestring - Returns the 3-dimensional or 2-dimensional length of the geometry if it is a linestring or multi-linestring.

geometry_gist_compress_nd(internal) FUNCTION C false internal INVOKER
crosstab(text, text) FUNCTION C false SETOF record INVOKER
ot_ro_provhub_calls_report(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF vw_provhub_calls INVOKER
gin_consistent_hstore(internal, smallint, internal, integer, internal, internal) FUNCTION C true boolean INVOKER
ot_ro_summarize_trip_v2(character varying, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
inherit_template_properties(text, text, text) FUNCTION PLPGSQL false boolean DEFINER
omni_rw_update_geofence(integer, real, real) FUNCTION PLPGSQL false boolean INVOKER
dropgeometrycolumn(character varying, character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: schema_name, table_name, column_name - Removes a geometry column from a spatial table.

geography_in(cstring, oid, integer) FUNCTION C true geography INVOKER
event_ecm_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
show_partition_info(text, text, text) FUNCTION PLPGSQL false record DEFINER
st_estimated_extent(text, text) FUNCTION SQL true box2d INVOKER

args: table_name, geocolumn_name - Return the estimated extent of the given spatial table. The estimated is taken from the geometry columns statistics. The current schema will be used if not specified.

_st_3ddwithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
updategeometrysrid(character varying, character varying, integer) FUNCTION PLPGSQL false text INVOKER

args: table_name, column_name, srid - Updates the SRID of all features in a geometry column, geometry_columns metadata and srid. If it was enforced with constraints, the constraints will be updated with new srid constraint. If the old was enforced by type definition, the type definition will be changed.

ot_ro_georef_latlon2lonlat(character varying) FUNCTION PLPYTHONU false character varying INVOKER
_st_expand(geography, double precision) FUNCTION C true geography INVOKER
equals(geometry, geometry) FUNCTION C true boolean INVOKER
st_multipolyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
gtrgm_consistent(internal, text, integer, oid, internal) FUNCTION C true boolean INVOKER
st_box2dfromgeohash(text, integer) FUNCTION C true box2d INVOKER
hstore_send(hstore) FUNCTION C true bytea INVOKER
st_isclosed(geometry) FUNCTION C true boolean INVOKER

args: g - Returns TRUE if the LINESTRINGs start and end points are coincident. For Polyhedral surface is closed (volumetric).

create_function_id(text, bigint) FUNCTION PLPGSQL false void DEFINER
pgstatginindex(regclass) FUNCTION C false record INVOKER
st_geomcollfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a collection Geometry from collection WKT with the given SRID. If SRID is not give, it defaults to -1.

st_geographyfromtext(text) FUNCTION C true geography INVOKER

args: EWKT - Return a specified geography value from Well-Known Text representation or extended (WKT).

ot_rw_message_setstatus(character varying, integer, integer) FUNCTION PLPGSQL false boolean DEFINER
st_endpoint(geometry) FUNCTION C true geometry INVOKER

args: g - Returns the last point of a LINESTRING geometry as a POINT.

postgis_type_name(character varying, integer, boolean) FUNCTION SQL true character varying INVOKER
st_intersection(text, text) FUNCTION SQL true geometry INVOKER
ot_ro_get_device_conf(character varying, boolean) FUNCTION SQL false hstore INVOKER
postgis_transform_geometry(geometry, text, text, integer) FUNCTION C true geometry INVOKER
geometry_gist_picksplit_2d(internal, internal) FUNCTION C false internal INVOKER
omni_ro_get_current_geofence_array(integer, double precision, double precision) FUNCTION SQL false ARRAY INVOKER
ot_rw_copy2broker_event() FUNCTION PLPGSQL false trigger INVOKER
st_collectionextract(geometry, integer) FUNCTION C true geometry INVOKER

args: collection, type - Given a (multi)geometry, returns a (multi)geometry consisting only of elements of the specified type.

geography(bytea) FUNCTION C true geography INVOKER
apply_cluster(text, text, text, text) FUNCTION PLPGSQL false void DEFINER
geography_lt(geography, geography) FUNCTION C true boolean INVOKER
ot_ro_pos_codes_citus(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
st_multilinefromwkb(bytea) FUNCTION SQL true geometry INVOKER
_st_askml(integer, geometry, integer, text) FUNCTION C true text INVOKER
st_geometrytype(geometry) FUNCTION C true text INVOKER

args: g1 - Return the geometry type of the ST_Geometry value.

ot_rw_monitor_partitions_alert(integer) FUNCTION PLPGSQL false boolean DEFINER
st_orderingequals(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns true if the given geometries represent the same geometry and points are in the same directional order.

_st_asgeojson(integer, geometry, integer, integer) FUNCTION C true text INVOKER
st_rotatez(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians about the Z axis.

st_extent(geometry) AGGREGATE INTERNAL true box2d INVOKER

args: geomfield - an aggregate function that returns the bounding box that bounds rows of geometries.

ot_rw_ovmrecon_inactivestatus() FUNCTION PLPGSQL false SETOF character varying INVOKER
st_distance(geography, geography, boolean) FUNCTION SQL true double precision INVOKER

args: gg1, gg2, use_spheroid - For geometry type Returns the 2-dimensional cartesian minimum distance (based on spatial ref) between two geometries in projected units. For geography type defaults to return spheroidal minimum distance between two geographies in meters.

st_xmax(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns X maxima of a bounding box 2d or 3d or a geometry.

show_partitions(text, text) FUNCTION PLPGSQL false SETOF record DEFINER
checkauth(text, text, text) FUNCTION PLPGSQL false integer INVOKER

args: a_schema_name, a_table_name, a_key_column_name - Creates trigger on a table to prevent/allow updates and deletes of rows based on authorization token.

last_agg(anyelement, anyelement) FUNCTION SQL true anyelement INVOKER
ot_ro_qos_commands(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
postgis_svn_version() FUNCTION C true text INVOKER
client_fillin_idproduct() FUNCTION PLPGSQL false trigger INVOKER
omni_ro_get_current_geofence_old(integer, double precision, double precision) FUNCTION PLPGSQL false SETOF integer INVOKER
st_azimuth(geography, geography) FUNCTION C true double precision INVOKER

args: pointA, pointB - Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB.

ot_ro_lastsent() FUNCTION SQL false timestamp with time zone INVOKER
pg_freespace(regclass) FUNCTION SQL false SETOF record INVOKER
geometry(polygon) FUNCTION C true geometry INVOKER
st_3dshortestline(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 3-dimensional shortest line between two geometries

st_npoints(geometry) FUNCTION C true integer INVOKER

args: g1 - Return the number of points (vertexes) in a geometry.

get_proj4_from_srid(integer) FUNCTION PLPGSQL true text INVOKER
ot_rw_insert_ecmevent_errorcode(bigint, integer, integer, character varying, integer, timestamp with time zone, timestamp with time zone, numeric, numeric, boolean, integer, integer, integer, integer, integer, boolean, integer) FUNCTION SQL false void DEFINER
geometry_gist_union_2d(bytea, internal) FUNCTION C false internal INVOKER
updategeometrysrid(character varying, character varying, character varying, character varying, integer) FUNCTION PLPGSQL false text INVOKER
akeys(hstore) FUNCTION C true ARRAY INVOKER
uuid_generate_v4() FUNCTION C false uuid INVOKER
st_collect(geometry[]) FUNCTION C true geometry INVOKER

args: g1_array - Return a specified ST_Geometry value from a collection of other geometries.

first(anyelement) AGGREGATE INTERNAL true anyelement INVOKER
event_p2016w18_part_trig_func() FUNCTION PLPGSQL false trigger INVOKER
st_find_extent(text, text, text) FUNCTION PLPGSQL true box2d INVOKER
ot_rw_create_helpdesk_user_tg() FUNCTION PLPGSQL false trigger INVOKER
svals(hstore) FUNCTION C true SETOF text INVOKER
gserialized_gist_sel_2d(internal, oid, internal, integer) FUNCTION C false double precision INVOKER
st_isvalidreason(geometry, integer) FUNCTION SQL true text INVOKER

args: geomA, flags - Returns text stating if a geometry is valid or not and if not valid, a reason why.

st_polyfromtext(text, integer) FUNCTION SQL true geometry INVOKER
st_flipcoordinates(geometry) FUNCTION C true geometry INVOKER

args: geom - Returns a version of the given geometry with X and Y axis flipped. Useful for people who have built latitude/longitude features and need to fix them.

ot_rw_deleteviewed_notviewed() FUNCTION PLPGSQL false trigger INVOKER
pgfadvise_random(regclass) FUNCTION SQL false SETOF record INVOKER
soundex(text) FUNCTION C true text INVOKER
geometry_gist_distance_2d(internal, geometry, integer) FUNCTION C false double precision INVOKER
ot_ro_get_location_remote(double precision, double precision) FUNCTION PLPROXY false hstore INVOKER
st_simplify(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, tolerance - Returns a “simplified” version of the given geometry using the Douglas-Peucker algorithm.

gtrgm_union(bytea, internal) FUNCTION C true ARRAY INVOKER
geometry_gist_penalty_2d(internal, internal, internal) FUNCTION C false internal INVOKER
st_ndims(geometry) FUNCTION C true smallint INVOKER

args: g1 - Returns coordinate dimension of the geometry as a small int. Values are: 2,3 or 4.

dms2dd(character varying) FUNCTION PLPGSQL true numeric INVOKER
isexists(hstore, text) FUNCTION C true boolean INVOKER
ginint4_queryextract(internal, internal, smallint, internal, internal, internal, internal) FUNCTION C true internal INVOKER
ot_rw_reasonproduct(character varying, integer) FUNCTION PLPGSQL false boolean INVOKER
ghstore_compress(internal) FUNCTION C true internal INVOKER
st_asgml(text) FUNCTION SQL true text INVOKER
box3d(geometry) FUNCTION C true box3d INVOKER

args: geomA - Returns a BOX3D representing the maximum extents of the geometry.

geometry_gist_consistent_2d(internal, geometry, integer) FUNCTION C false boolean INVOKER
dw_ems_ecm(timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
_int_contained(integer[], integer[]) FUNCTION C true boolean INVOKER

contained in

st_collect(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Return a specified ST_Geometry value from a collection of other geometries.

g_intbig_compress(internal) FUNCTION C true internal INVOKER
st_3dintersects(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns TRUE if the Geometries “spatially intersect” in 3d - only for points and linestrings

st_locatebetween(geometry, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, measure_start, measure_end, offset - Return a derived geometry collection value with elements that match the specified range of measures inclusively. Polygonal elements are not supported.

ot_ro_pos_history_tmp(integer, integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
ot_rw_createrole_useradmin(integer) FUNCTION PLPGSQL false integer INVOKER
st_estimatedextent(text, text) FUNCTION C true box2d DEFINER
stop_sub_partition(text, boolean) FUNCTION PLPGSQL false boolean DEFINER
st_force3d(geometry) FUNCTION C true geometry INVOKER
ot_rw_set_idunit() FUNCTION PLPGSQL false trigger INVOKER
g_int_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_force_3dm(geometry) FUNCTION SQL true geometry INVOKER

args: geomA - Forces the geometries into XYM mode.

st_intersection(geometry, geometry) FUNCTION C true geometry INVOKER

args: geomA, geomB - (T) Returns a geometry that represents the shared portion of geomA and geomB. The geography implementation does a transform to geometry to do the intersection and then transform back to WGS84.

part_trig_func_alert() FUNCTION PLPGSQL false trigger INVOKER
drop_partition_time(text, interval, boolean, boolean, text) FUNCTION PLPGSQL false integer DEFINER
metaphone(text, integer) FUNCTION C true text INVOKER
st_3ddwithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance_of_srid - For 3d (z) geometry type Returns true if two geometries 3d distance is within number of units.

hstore_lt(hstore, hstore) FUNCTION C true boolean INVOKER
ot_ro_get_ecm_jpod_bus(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false integer DEFINER
g_int_compress(internal) FUNCTION C true internal INVOKER
st_asgeojson(integer, geometry, integer, integer) FUNCTION SQL true text INVOKER

args: gj_version, geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

st_affine(geometry, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, a, b, c, d, e, f, g, h, i, xoff, yoff, zoff - Applies a 3d affine transformation to the geometry to do things like translate, rotate, scale in one step.

ot_ro_get_alerts_by_user_v2(integer, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
hstore_le(hstore, hstore) FUNCTION C true boolean INVOKER
st_makepoint(double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y, z - Creates a 2D,3DZ or 4D point geometry.

ot_ro_move_status_agg_v2(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
ot_ro_fast_alert(integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF alert INVOKER
ot_rw_uninherit_event_partition(integer, integer) FUNCTION PLPGSQL false boolean DEFINER
st_makebox2d(geometry, geometry) FUNCTION C true box2d INVOKER

args: pointLowLeft, pointUpRight - Creates a BOX2D defined by the given point geometries.

st_mlinefromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Return a specified ST_MultiLineString value from WKT representation.

geometry_typmod_out(integer) FUNCTION C true cstring INVOKER
st_polygonfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
gidx_in(cstring) FUNCTION C true gidx INVOKER
ot_event_part_createchild(date) FUNCTION PLPGSQL false boolean DEFINER
ot_ro_ecmreport_charts(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
st_numinteriorring(geometry) FUNCTION C true integer INVOKER

args: a_polygon - Return the number of interior rings of the first polygon in the geometry. Synonym to ST_NumInteriorRings.

as_kmldoc(geometry, anyelement) AGGREGATE INTERNAL true text INVOKER
ot_rw_create_logitracs_user(integer, character varying) FUNCTION PLPGSQL false integer INVOKER
st_asgeojson(text) FUNCTION SQL true text INVOKER
ot_ro_ecmevent_parameter_list_conv(bigint, integer) FUNCTION SQL false double precision INVOKER
st_find_extent(text, text) FUNCTION PLPGSQL true box2d INVOKER
st_rotatex(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians about the X axis.

normal_rand(integer, double precision, double precision) FUNCTION C false SETOF double precision INVOKER
st_union(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: g1field - Returns a geometry that represents the point set union of the Geometries.

_st_dfullywithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
ot_ro_overspeed(real[], integer) FUNCTION PLPGSQL false real INVOKER
geography(geography, integer, boolean) FUNCTION C true geography INVOKER
st_exteriorring(geometry) FUNCTION C true geometry INVOKER

args: a_polygon - Returns a line string representing the exterior ring of the POLYGON geometry. Return NULL if the geometry is not a polygon. Will not work with MULTIPOLYGON

st_patchn(geometry, integer) FUNCTION SQL true geometry INVOKER

args: geomA, n - Return the 1-based Nth geometry (face) if the geometry is a POLYHEDRALSURFACE, POLYHEDRALSURFACEM. Otherwise, return NULL.

st_accum(geometry) AGGREGATE INTERNAL true ARRAY INVOKER

args: geomfield - Aggregate. Constructs an array of geometries.

ot_rw_copy2broker_eventecm_parameter_list() FUNCTION PLPGSQL false trigger INVOKER
st_makeline(geometry, geometry) FUNCTION C true geometry INVOKER

args: geom1, geom2 - Creates a Linestring from point or line geometries.

box3d(box2d) FUNCTION C true box3d INVOKER
boolop(integer[], query_int) FUNCTION C true boolean INVOKER

boolean operation with array

st_force_2d(geometry) FUNCTION SQL true geometry INVOKER

args: geomA - Forces the geometries into a “2-dimensional mode” so that all output representations will only have the X and Y coordinates.

st_dwithin(geography, geography, double precision) FUNCTION SQL true boolean INVOKER

args: gg1, gg2, distance_meters - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

st_isvalidreason(geometry) FUNCTION C true text INVOKER

args: geomA - Returns text stating if a geometry is valid or not and if not valid, a reason why.

st_shift_longitude(geometry) FUNCTION C true geometry INVOKER

args: geomA - Reads every point/vertex in every component of every feature in a geometry, and if the longitude coordinate is <0, adds 360 to it. The result would be a 0-360 version of the data to be plotted in a 180 centric map

st_bdpolyfromtext(text, integer) FUNCTION PLPGSQL true geometry INVOKER

args: WKT, srid - Construct a Polygon given an arbitrary collection of closed linestrings as a MultiLineString Well-Known text representation.

st_containsproperly(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns true if B intersects the interior of A but not the boundary (or exterior). A does not contain properly itself, but does contain itself.

postgis_dropbbox(geometry) FUNCTION C true geometry INVOKER

args: geomA - Drop the bounding box cache from the geometry.

check_epoch_type(text) FUNCTION PLPGSQL true boolean DEFINER
ot_rw_featuresmigration_phase1() FUNCTION PLPGSQL false void INVOKER
st_asgeojson(integer, geography, integer, integer) FUNCTION SQL true text INVOKER

args: gj_version, geog, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

_st_intersects(geometry, geometry) FUNCTION C true boolean INVOKER
st_aslatlontext(geometry, text) FUNCTION C true text INVOKER

args: pt, format - Return the Degrees, Minutes, Seconds representation of the given point.

_intbig_out(intbig_gkey) FUNCTION C true cstring INVOKER
box2d_in(cstring) FUNCTION C true box2d INVOKER
geometry_overright(geometry, geometry) FUNCTION C true boolean INVOKER
st_multilinestringfromtext(text, integer) FUNCTION SQL true geometry INVOKER
ot_event_part_createchildren_by_iddevice(character varying) FUNCTION PLPGSQL false boolean DEFINER
get_psutil_mem() FUNCTION PLPYTHONU false record DEFINER

created for pgwatch2

ot_ro_qos_pos_delay(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
technicalaccount_fillin_idproduct() FUNCTION PLPGSQL false trigger DEFINER
st_force3dz(geometry) FUNCTION C true geometry INVOKER
geometry_contains(geometry, geometry) FUNCTION C true boolean INVOKER
geometry_gist_decompress_nd(internal) FUNCTION C false internal INVOKER
st_linelocatepoint(geometry, geometry) FUNCTION C true double precision INVOKER
st_asgml(geography, integer, integer) FUNCTION SQL true text INVOKER

args: geog, maxdecimaldigits=15, options=0 - Return the geometry as a GML version 2 or 3 element.

g_intbig_decompress(internal) FUNCTION C true internal INVOKER
st_relatematch(text, text) FUNCTION C true boolean INVOKER

args: intersectionMatrix, intersectionMatrixPattern - Returns true if intersectionMattrixPattern1 implies intersectionMatrixPattern2

st_geometryfromtext(text) FUNCTION C true geometry INVOKER

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

ot_ro_activity_report_alerts(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
ot_rw_setjpodbus(integer) FUNCTION PLPGSQL false boolean INVOKER
st_polygonize(geometry[]) FUNCTION C true geometry INVOKER

args: geom_array - Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries.

_st_orderingequals(geometry, geometry) FUNCTION C true boolean INVOKER
ot_ro_dw_daily(timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
hstore_to_array(hstore) FUNCTION C true ARRAY INVOKER
geography_gist_compress(internal) FUNCTION C false internal INVOKER
_st_askml(integer, geography, integer, text) FUNCTION C true text INVOKER
first_agg(anyelement, anyelement) FUNCTION SQL true anyelement INVOKER
check_subpart_sameconfig(text) FUNCTION SQL false SETOF record DEFINER
create_partition_time(text, timestamp with time zone[], boolean, boolean) FUNCTION PLPGSQL false boolean DEFINER
_int_overlap(integer[], integer[]) FUNCTION C true boolean INVOKER

overlaps

st_intersection(geography, geography) FUNCTION SQL true geography INVOKER

args: geogA, geogB - (T) Returns a geometry that represents the shared portion of geomA and geomB. The geography implementation does a transform to geometry to do the intersection and then transform back to WGS84.

st_makepoint(double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y, z, m - Creates a 2D,3DZ or 4D point geometry.

pg_freespace(regclass, bigint) FUNCTION C false smallint INVOKER
omni_ro_get_current_geofence(integer, double precision, double precision, double precision, double precision, integer) FUNCTION PLPGSQL false SETOF integer INVOKER
ot_rw_ecm_femsa(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false boolean INVOKER
dw_daily_activity_summarized(character varying, timestamp with time zone, timestamp with time zone, integer) FUNCTION SQL false SETOF record INVOKER
st_mpointfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to -1.

st_asewkb(geometry, text) FUNCTION C true bytea INVOKER

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.

unescape(text, text) FUNCTION PLPGSQL false text INVOKER
st_zmin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Z minima of a bounding box 2d or 3d or a geometry.

g_int_consistent(internal, integer[], integer, oid, internal) FUNCTION C true boolean INVOKER
st_multi(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns the geometry as a MULTI* geometry. If the geometry is already a MULTI*, it is returned unchanged.

g_int_union(internal, internal) FUNCTION C true ARRAY INVOKER
ot_ro_get_device_defaultconf(character varying, boolean) FUNCTION SQL false hstore INVOKER
st_project(geography, double precision, double precision) FUNCTION C true geography INVOKER

args: g1, distance, azimuth - Returns a POINT projected from a start point using a distance in meters and bearing (azimuth) in radians.

bqarr_in(cstring) FUNCTION C true query_int INVOKER
st_linefrommultipoint(geometry) FUNCTION C true geometry INVOKER

args: aMultiPoint - Creates a LineString from a MultiPoint geometry.

st_gmltosql(text, integer) FUNCTION C true geometry INVOKER

args: geomgml, srid - Return a specified ST_Geometry value from GML representation. This is an alias name for ST_GeomFromGML

hstore_version_diag(hstore) FUNCTION C true integer INVOKER
ot_ro_dw_get_fuelreport(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
ot_rw_partmigratedata(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false boolean INVOKER
st_aslatlontext(geometry) FUNCTION SQL true text INVOKER

args: pt - Return the Degrees, Minutes, Seconds representation of the given point.

st_multipointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
ot_ro_geofence_activity(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
ot_ro_aggaddarray(integer[]) AGGREGATE INTERNAL true ARRAY INVOKER
st_3dclosestpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 3-dimensional point on g1 that is closest to g2. This is the first point of the 3D shortest line.

pgfincore(regclass, text, boolean) FUNCTION C false SETOF record INVOKER
box2d_out(box2d) FUNCTION C true cstring INVOKER
ot_ro_event_cassandra_v2(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
apply_constraints(text, text, boolean, bigint, boolean) FUNCTION PLPGSQL false void INVOKER
disablelongtransactions() FUNCTION PLPGSQL false text INVOKER

Disable long transaction support. This function removes the long transaction support metadata tables, and drops all triggers attached to lock-checked tables.

st_distance_sphere(geometry, geometry) FUNCTION SQL true double precision INVOKER

args: geomlonlatA, geomlonlatB - Returns minimum distance in meters between two lon/lat geometries. Uses a spherical earth and radius of 6370986 meters. Faster than ST_Distance_Spheroid , but less accurate. PostGIS versions prior to 1.5 only implemented for points.

ot_ro_get_location_local(double precision, double precision) FUNCTION PLPGSQL false hstore DEFINER
st_3dlength_spheroid(geometry, spheroid) FUNCTION C true double precision INVOKER

args: a_linestring, a_spheroid - Calculates the length of a geometry on an ellipsoid, taking the elevation into account. This is just an alias for ST_Length_Spheroid.

slice_array(hstore, text[]) FUNCTION C true ARRAY INVOKER
st_makepolygon(geometry, geometry[]) FUNCTION C true geometry INVOKER

args: outerlinestring, interiorlinestrings - Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS.

ghstore_decompress(internal) FUNCTION C true internal INVOKER
st_asbinary(geography, text) FUNCTION SQL true bytea INVOKER

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

ot_ro_nearest_road(real, real) FUNCTION SQL false SETOF record INVOKER
st_linecrossingdirection(geometry, geometry) FUNCTION SQL true integer INVOKER

args: linestringA, linestringB - Given 2 linestrings, returns a number between -3 and 3 denoting what kind of crossing behavior. 0 is no crossing.

ot_rw_getnextdevmessageid(integer) FUNCTION PLPGSQL false integer DEFINER
ot_rw_update_current_geofence(integer, character varying) FUNCTION PLPGSQL false integer INVOKER
box2d(geometry) FUNCTION C true box2d INVOKER

args: geomA - Returns a BOX2D representing the maximum extents of the geometry.

st_distance(text, text) FUNCTION SQL true double precision INVOKER
_st_touches(geometry, geometry) FUNCTION C true boolean INVOKER
st_linestringfromwkb(bytea) FUNCTION SQL true geometry INVOKER

args: WKB - Makes a geometry from WKB with the given SRID.

pgstattuple(text) FUNCTION C false record INVOKER
ot_ro_mon_fs_delay_xi() FUNCTION SQL false integer DEFINER
fetchval(hstore, text) FUNCTION C true text INVOKER
geometry_gist_penalty_nd(internal, internal, internal) FUNCTION C false internal INVOKER
ot_rw_insert_default_config_colombia(integer) FUNCTION SQL false void DEFINER
get_stat_activity() FUNCTION SQL false SETOF pg_stat_activity DEFINER

created for pgwatch2

bytea(geometry) FUNCTION C true bytea INVOKER
find_srid(character varying, character varying, character varying) FUNCTION PLPGSQL true integer INVOKER

args: a_schema_name, a_table_name, a_geomfield_name - The syntax is find_srid(<db/schema>,

, ) and the function returns the integer SRID of the specified column by searching through the GEOMETRY_COLUMNS table.

spheroid_out(spheroid) FUNCTION C true cstring INVOKER
st_perimeter2d(geometry) FUNCTION C true double precision INVOKER

args: geomA - Returns the 2-dimensional perimeter of the geometry, if it is a polygon or multi-polygon. This is currently an alias for ST_Perimeter.

box(box3d) FUNCTION C true box INVOKER
st_estimated_extent(text, text, text) FUNCTION SQL true box2d INVOKER

args: schema_name, table_name, geocolumn_name - Return the estimated extent of the given spatial table. The estimated is taken from the geometry columns statistics. The current schema will be used if not specified.

gin_extract_hstore_query(internal, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
geography_ge(geography, geography) FUNCTION C true boolean INVOKER
gtrgm_decompress(internal) FUNCTION C true internal INVOKER
st_length2d_spheroid(geometry, spheroid) FUNCTION C true double precision INVOKER

args: a_linestring, a_spheroid - Calculates the 2D length of a linestring/multilinestring on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.

postgis_scripts_released() FUNCTION C true text INVOKER

Returns the version number of the postgis.sql script released with the installed postgis lib.

geometry_analyze(internal) FUNCTION C false boolean INVOKER
st_simplifypreservetopology(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, tolerance - Returns a “simplified” version of the given geometry using the Douglas-Peucker algorithm. Will avoid creating derived geometries (polygons in particular) that are invalid.

subarray(integer[], integer, integer) FUNCTION C true ARRAY INVOKER
kml_concat(text, geometry, anyelement, anyelement) FUNCTION SQL true text INVOKER
ot_ro_get_fls(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record DEFINER
postgis_typmod_type(integer) FUNCTION C true text INVOKER
_postgis_stats(regclass, text, text) FUNCTION C false text INVOKER
pgis_geometry_accum_finalfn(pgis_abs) FUNCTION C false ARRAY INVOKER
st_assvg(geography, integer, integer) FUNCTION C true text INVOKER

args: geog, rel=0, maxdecimaldigits=15 - Returns a Geometry in SVG path data given a geometry or geography object.

st_isvaliddetail(geometry, integer) FUNCTION C true valid_detail INVOKER

args: geom, flags - Returns a valid_detail (valid,reason,location) row stating if a geometry is valid or not and if not valid, a reason why and a location where.

st_coveredby(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B

ot_rw_update_georeference(integer, real, real) FUNCTION PLPGSQL false SETOF geofence_history_archive INVOKER
ot_ro_mon_fs_delay_xi(integer) FUNCTION SQL false integer DEFINER
bytea(geography) FUNCTION C true bytea INVOKER
checkauthtrigger() FUNCTION C false trigger INVOKER
_st_asgml(integer, geometry, integer, integer, text, text) FUNCTION C true text INVOKER
_st_distancetree(geography, geography) FUNCTION SQL true double precision INVOKER
st_numpoints(geometry) FUNCTION C true integer INVOKER

args: g1 - Return the number of points in an ST_LineString or ST_CircularString value.

st_overlaps(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns TRUE if the Geometries share space, are of the same dimension, but are not completely contained by each other.

ot_rw_unit_delete(integer, character varying) FUNCTION PLPGSQL false boolean INVOKER
ot_ro_getalertswithcondition(integer, boolean, boolean, integer, bigint, integer) FUNCTION PLPGSQL false json INVOKER
_st_asgml(integer, geography, integer, integer, text, text) FUNCTION C true text INVOKER
ot_rw_drop_event_partition(integer, integer) FUNCTION PLPGSQL false boolean DEFINER
ot_ro_pos_history_cassandra(integer, integer, timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
st_pointfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a point Geometry from WKT with the given SRID. If SRID is not given, it defaults to unknown.

st_rotate(geometry, double precision, geometry) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians, pointOrigin - Rotate a geometry rotRadians counter-clockwise about an origin.

ot_rw_alert_last_tg() FUNCTION PLPGSQL false trigger INVOKER
st_polygon(geometry, integer) FUNCTION SQL true geometry INVOKER

args: aLineString, srid - Returns a polygon built from the specified linestring and SRID.

st_asgeojson(geography, integer, integer) FUNCTION SQL true text INVOKER

args: geog, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

st_relate(geometry, geometry) FUNCTION C true text INVOKER

args: geomA, geomB - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

st_transscale(geometry, double precision, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, deltaX, deltaY, XFactor, YFactor - Translates the geometry using the deltaX and deltaY args, then scales it using the XFactor, YFactor args, working in 2D only.

st_union(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns a geometry that represents the point set union of the Geometries.

slice(hstore, text[]) FUNCTION C true hstore INVOKER
box2df_in(cstring) FUNCTION C true box2df INVOKER
st_mpointfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to -1.

st_geomfromewkt(text) FUNCTION C true geometry INVOKER

args: EWKT - Return a specified ST_Geometry value from Extended Well-Known Text representation (EWKT).

point(geometry) FUNCTION C true point INVOKER
partition_data_id(text, integer, bigint, numeric, text, boolean) FUNCTION PLPGSQL false bigint DEFINER
bqarr_out(query_int) FUNCTION C true cstring INVOKER
geometry_overlaps(geometry, geometry) FUNCTION C true boolean INVOKER
ot_ro_sterimedreport(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
st_mem_size(geometry) FUNCTION C true integer INVOKER

args: geomA - Returns the amount of space (in bytes) the geometry takes.

defined(hstore, text) FUNCTION C true boolean INVOKER
_st_concavehull(geometry) FUNCTION PLPGSQL true geometry INVOKER
pg_relpages(text) FUNCTION C false bigint INVOKER
ot_rw_ecmportconf(integer) FUNCTION PLPGSQL false integer DEFINER
st_combine_bbox(box2d, geometry) FUNCTION C true box2d INVOKER
st_asgml(integer, geography, integer, integer, text, text) FUNCTION SQL true text INVOKER
randompoint(geometry) FUNCTION PLPGSQL false geometry INVOKER
st_interpolatepoint(geometry, geometry) FUNCTION C true double precision INVOKER

args: line, point - Return the value of the measure dimension of a geometry at the point closed to the provided point.

pgsysconf() FUNCTION C false record INVOKER
st_offsetcurve(geometry, double precision, text) FUNCTION C true geometry INVOKER

args: line, signed_distance, style_parameters=’ - Return an offset line at a given distance and side from an input line. Useful for computing parallel lines about a center line

ot_ro_dw_get_triphistory(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPROXY false SETOF record INVOKER
querytree(query_int) FUNCTION C true text INVOKER
st_geomfromgml(text) FUNCTION SQL true geometry INVOKER

args: geomgml - Takes as input GML representation of geometry and outputs a PostGIS geometry object

st_pointonsurface(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns a POINT guaranteed to lie on the surface.

ot_ro_driver_summarized_trip(integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
pg_stat_statements_reset() FUNCTION C false void INVOKER
dropgeometrytable(character varying, character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: catalog_name, schema_name, table_name - Drops a table and all its references in geometry_columns.

_st_crosses(geometry, geometry) FUNCTION C true boolean INVOKER
st_askml(geography, integer) FUNCTION SQL true text INVOKER

args: geog, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

pgis_geometry_union_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
postgis_lib_version() FUNCTION C true text INVOKER

Returns the version number of the PostGIS library.

ot_ro_coverage(integer, date) FUNCTION PLPGSQL false SETOF event INVOKER
skeys(hstore) FUNCTION C true SETOF text INVOKER
st_intersects(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns TRUE if the Geometries/Geography “spatially intersect in 2D” - (share any portion of space) and FALSE if they dont (they are Disjoint). For geography – tolerance is 0.00001 meters (so any points that close are considered to intersect)

as_kmldoc(geometry) AGGREGATE INTERNAL true text INVOKER
exist(hstore, text) FUNCTION C true boolean INVOKER
hstore(text, text) FUNCTION C true hstore INVOKER
st_multipolygonfromtext(text) FUNCTION SQL true geometry INVOKER
box3d_out(box3d) FUNCTION C true cstring INVOKER
_int_contains(integer[], integer[]) FUNCTION C true boolean INVOKER

contains

ot_ro_pos_customerds(integer, integer, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
ot_ro_report_sar(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
tconvert(text, text) FUNCTION C true hstore INVOKER
ot_rw_movdevacc(character varying, character varying, integer) FUNCTION PLPGSQL false boolean INVOKER
st_covers(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A

st_geohash(geography, integer) FUNCTION C true text INVOKER
st_linefromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to -1.

gin_extract_hstore(internal, internal) FUNCTION C true internal INVOKER
st_linefromwkb(bytea) FUNCTION SQL true geometry INVOKER

args: WKB - Makes a LINESTRING from WKB with the given SRID

geography_typmod_in(cstring[]) FUNCTION C true integer INVOKER
st_buffer(geometry, double precision) FUNCTION C true geometry INVOKER

args: g1, radius_of_buffer - (T) For geometry: Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry. For geography: Uses a planar transform wrapper. Introduced in 1.5 support for different end cap and mitre settings to control shape. buffer_style options: quad_segs=#,endcap=round|flat|square,join=round|mitre|bevel,mitre_limit=#.#

ot_ro_summarize_activity(character varying, timestamp with time zone, timestamp with time zone, integer) FUNCTION PLPGSQL false SETOF record INVOKER
geography_cmp(geography, geography) FUNCTION C true integer INVOKER
_st_linecrossingdirection(geometry, geometry) FUNCTION C true integer INVOKER
dropgeometrycolumn(character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: table_name, column_name - Removes a geometry column from a spatial table.

ot_ro_get_location_remote(double precision, double precision, integer) FUNCTION PLPROXY false hstore INVOKER
_st_pointoutside(geography) FUNCTION C true geography INVOKER
ot_rw_createsuperuser(integer) FUNCTION SQL false integer INVOKER
ginint4_consistent(internal, smallint, internal, integer, internal, internal, internal, internal) FUNCTION C true boolean INVOKER
g_intbig_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
_st_covers(geometry, geometry) FUNCTION C true boolean INVOKER
st_dumprings(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: a_polygon - Returns a set of geometry_dump rows, representing the exterior and interior rings of a polygon.

st_area(text) FUNCTION SQL true double precision INVOKER
st_asgml(integer, geometry, integer, integer, text, text) FUNCTION SQL true text INVOKER
_st_coveredby(geometry, geometry) FUNCTION C true boolean INVOKER
ot_rw_create_instalaciones_user_tg() FUNCTION PLPGSQL false trigger INVOKER
ot_rw_device_fill_zeroes() FUNCTION PLPGSQL false trigger INVOKER
ot_ro_report_sar_agg_v2(integer[], timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
updategeometrysrid(character varying, character varying, character varying, integer) FUNCTION PLPGSQL false text INVOKER

args: schema_name, table_name, column_name, srid - Updates the SRID of all features in a geometry column, geometry_columns metadata and srid. If it was enforced with constraints, the constraints will be updated with new srid constraint. If the old was enforced by type definition, the type definition will be changed.

ot_rw_geofence_set_zoom() FUNCTION PLPGSQL false trigger INVOKER
avals(hstore) FUNCTION C true ARRAY INVOKER
st_pointfromgeohash(text, integer) FUNCTION C true geometry INVOKER
ot_ro_sterimedreport(timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
hstore_ne(hstore, hstore) FUNCTION C true boolean INVOKER
check_automatic_maintenance_value(text) FUNCTION PLPGSQL true boolean DEFINER
st_isempty(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns true if this Geometry is an empty geometrycollection, polygon, point etc.

st_ymin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Y minima of a bounding box 2d or 3d or a geometry.

levenshtein(text, text) FUNCTION C true integer INVOKER
st_createfishnet(integer, integer, double precision, double precision, double precision, double precision) FUNCTION SQL true SETOF record INVOKER
ot_rw_gnxtof5() FUNCTION PLPYTHONU false trigger DEFINER
ot_rw_movdecacc(character varying, character varying, integer) FUNCTION PLPGSQL false boolean INVOKER
gin_extract_query_trgm(text, internal, smallint, internal, internal, internal, internal) FUNCTION C true internal INVOKER
checkauth(text, text) FUNCTION SQL false integer INVOKER

args: a_table_name, a_key_column_name - Creates trigger on a table to prevent/allow updates and deletes of rows based on authorization token.

geography_gist_same(box2d, box2d, internal) FUNCTION C false internal INVOKER
st_collect(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: g1field - Return a specified ST_Geometry value from a collection of other geometries.

ot_rw_commandexecrollbackstatus() FUNCTION PLPGSQL false trigger DEFINER
hstore_out(hstore) FUNCTION C true cstring INVOKER
postgis_version() FUNCTION C true text INVOKER

Returns PostGIS version number and compile-time options.

geometry_ge(geometry, geometry) FUNCTION C true boolean INVOKER
geography_gist_picksplit(internal, internal) FUNCTION C false internal INVOKER
st_multipolyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_shortestline(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 2-dimensional shortest line between two geometries

pgis_geometry_accum_transfn(pgis_abs, geometry) FUNCTION C false pgis_abs INVOKER
st_linefromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to -1.

omni_rw_insert_geofence_history(integer, integer[], timestamp without time zone) FUNCTION PLPGSQL false integer INVOKER
ot_rw_ovmrecon_custid() FUNCTION PLPGSQL false integer INVOKER
st_x(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the X coordinate of the point, or NULL if not available. Input must be a point.

ot_rw_tmp_badcalamp() FUNCTION PLPGSQL false trigger INVOKER
apply_publications(text, text, text) FUNCTION PLPGSQL false void DEFINER
ot_ro_summarize_trip(character varying, timestamp with time zone, timestamp with time zone) FUNCTION PLPGSQL false SETOF record INVOKER
st_coveredby(text, text) FUNCTION SQL true boolean INVOKER
st_gmltosql(text) FUNCTION SQL true geometry INVOKER

args: geomgml - Return a specified ST_Geometry value from GML representation. This is an alias name for ST_GeomFromGML

hstore_in(cstring) FUNCTION C true hstore INVOKER
st_nrings(geometry) FUNCTION C true integer INVOKER

args: geomA - If the geometry is a polygon or multi-polygon returns the number of rings.

st_xmin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns X minima of a bounding box 2d or 3d or a geometry.

st_polygonize(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geomfield - Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries.

ot_rw_mon_alertdate(timestamp with time zone) FUNCTION PLPGSQL false double precision INVOKER
st_asewkt(text) FUNCTION SQL true text INVOKER
st_isvaliddetail(geometry) FUNCTION C true valid_detail INVOKER

args: geom - Returns a valid_detail (valid,reason,location) row stating if a geometry is valid or not and if not valid, a reason why and a location where.

st_wkbtosql(bytea) FUNCTION C true geometry INVOKER

args: WKB - Return a specified ST_Geometry value from Well-Known Binary representation (WKB). This is an alias name for ST_GeomFromWKB that takes no srid

dw_movement_activity(timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
st_snaptogrid(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, sizeX, sizeY - Snap all points of the input geometry to a regular grid.

st_makevalid(geometry) FUNCTION C true geometry INVOKER

args: input - Attempts to make an invalid geometry valid without losing vertices.

ot_ro_getsequencelastval() FUNCTION PLPGSQL false SETOF record INVOKER
st_geometryn(geometry, integer) FUNCTION C true geometry INVOKER

args: geomA, n - Return the 1-based Nth geometry if the geometry is a GEOMETRYCOLLECTION, (MULTI)POINT, (MULTI)LINESTRING, MULTICURVE or (MULTI)POLYGON, POLYHEDRALSURFACE Otherwise, return NULL.

unescape(text) FUNCTION PLPGSQL false text INVOKER
polygon(geometry) FUNCTION C true polygon INVOKER
st_y(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the Y coordinate of the point, or NULL if not available. Input must be a point.

geometry_gt(geometry, geometry) FUNCTION C true boolean INVOKER
ot_rw_create_operadores_user(integer, character varying) FUNCTION PLPGSQL false integer INVOKER
ot_update_seqalertconf() FUNCTION PLPGSQL false integer INVOKER
dw_fact_activity(timestamp with time zone, timestamp with time zone) FUNCTION SQL false SETOF record INVOKER
st_multilinestringfromtext(text) FUNCTION SQL true geometry INVOKER
hstore(text[], text[]) FUNCTION C true hstore INVOKER
st_snaptogrid(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, size - Snap all points of the input geometry to a regular grid.

intarray_del_elem(integer[], integer) FUNCTION C true ARRAY INVOKER
ot_rw_ecmportconf(integer, integer) FUNCTION PLPGSQL false integer DEFINER
ot_rw_alertsmarkcust(character varying) FUNCTION PLPGSQL false integer DEFINER
st_rotatey(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians about the Y axis.

st_mlinefromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
similarity_dist(text, text) FUNCTION C true real INVOKER
st_covers(text, text) FUNCTION SQL true boolean INVOKER
geomfromewkb(bytea) FUNCTION C true geometry INVOKER
ot_rw_tg_noresequence_add() FUNCTION PLPGSQL false trigger INVOKER
st_length(geometry) FUNCTION C true double precision INVOKER

args: a_2dlinestring - Returns the 2d length of the geometry if it is a linestring or multilinestring. geometry are in units of spatial reference and geography are in meters (default spheroid)

text_soundex(text) FUNCTION C true text INVOKER
st_isvalid(geometry) FUNCTION C true boolean INVOKER

args: g - Returns true if the ST_Geometry is well formed.