# Functions
CloseDB closes the db connection.
CreateDB creates db connection using the cfg.
GetCurrentLSN return the result of SELECT pg_current_wal_lsn().
GetLastReplayLSN returns the result of SELECT pg_last_wal_replay_lsn().
ReloadConf make PG reload its conf.