Installs functions needed for timeseriesdb triggers and sets up these triggers in a given PostgreSQL schema. The functions uses a default SQL file installed with the package to generate SQL functions. The default schema 'timeseries' can be replaced using the 'schema' parameter.

setup_sql_triggers(con, schema = "timeseries", prnt = identity)

Arguments

con

PostgreSQL connection object created by the RPostgres package.

schema

character schema name, defaults to 'timeseries'.

prnt

function log printing function