pg_pacs/sql/pgbench.sql

11 lignes
355 o
MySQL
Brut Vue normale Historique

set client_min_messages to WARNING;
select pacs_create_measure((:client_id)::Name);
select pacs_increment_measure((:client_id)::Name);
select pacs_get_measure((:client_id)::Name);
select pacs_reset_measure((:client_id)::Name);
select pacs_drop_measure((:client_id)::Name);
\set measure 100 + random(1,5)
select pacs_increment_measure((:measure)::Name);