allow to use db_hostaddr, db_port or db_conn_string config parameters to connect to PostgreSQL
This commit is contained in:
@@ -189,6 +189,16 @@ public:
|
||||
// default: false
|
||||
bool template_only_root_use_template_fun;
|
||||
|
||||
// the database connection string
|
||||
// https://www.postgresql.org/docs/14/libpq-connect.html#LIBPQ-CONNSTRING
|
||||
// default: empty (not used if empty)
|
||||
std::wstring db_conn_string;
|
||||
|
||||
// the database host ip address and port number
|
||||
// default: empty which means winix connects to a Unix-domain socket
|
||||
std::wstring db_hostaddr;
|
||||
std::wstring db_port;
|
||||
|
||||
// the database name, user name and a password for the PostgreSQL database
|
||||
std::wstring db_database;
|
||||
std::wstring db_user;
|
||||
|
Reference in New Issue
Block a user