pg_pacs/pacs--0.0.1.sql

31 lignes
795 o
MySQL
Brut Lien permanent Vue normale Historique

2024-10-20 14:51:05 +02:00
/*
* measures
*/
CREATE FUNCTION pacs_reset_all_measures()
RETURNS void
AS 'MODULE_PATHNAME', 'pacs_reset_all_measures'
LANGUAGE C STRICT;
CREATE FUNCTION pacs_reset_measure(measure_name Name)
RETURNS void
AS 'MODULE_PATHNAME', 'pacs_reset_measure'
LANGUAGE C STRICT;
CREATE FUNCTION pacs_create_measure(measure_name Name)
RETURNS void
AS 'MODULE_PATHNAME', 'pacs_create_measure'
LANGUAGE C STRICT;
CREATE FUNCTION pacs_drop_measure(measure_name Name)
RETURNS void
AS 'MODULE_PATHNAME', 'pacs_drop_measure'
LANGUAGE C STRICT;
CREATE FUNCTION pacs_increment_measure(measure_name Name)
RETURNS void
AS 'MODULE_PATHNAME', 'pacs_increment_measure'
LANGUAGE C STRICT;
CREATE FUNCTION pacs_get_measure(measure_name Name)
RETURNS bigint
AS 'MODULE_PATHNAME', 'pacs_get_measure'
LANGUAGE C STRICT;