![]() |
smax-postgres v0.9
PostgreSQL / TimescaleDB logger for SMA-X
|
Functions | |
| int | main (int argc, const char *argv[]) |
Variables | |
| boolean | debug = FALSE |
| whether to show debug messages | |
Logging of SMA-X variables to a historical database, such as an SQL database. Cofiguration of the logger is possible via a designated configuration file, which can be specified at runtime via the -c option.
| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Main entry point of the smax-postgress SMA-X to PostgreSQL / TimescaleDB connector application
| argc | Number of command-line arguments passed |
| argv | An array of command-line argument strings |
References debug, ERROR_EXIT, FALSE, initCollector(), parseConfig(), setupDB(), SMAXPQ_DEFAULT_CONFIG, SMAXPQ_VERSION_STRING, SQLThread(), and SUCCESS_RETURN.