30 lignes
795 o
SQL
30 lignes
795 o
SQL
/*
|
|
* 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;
|