diff options
author | Eric Leblond <eric@regit.org> | 2013-05-28 21:58:57 +0200 |
---|---|---|
committer | Eric Leblond <eric@regit.org> | 2013-06-08 12:20:01 +0200 |
commit | 9768bfb0920645d360feee3bba8d1aaa1ecd1e2f (patch) | |
tree | 9297c326d5d7055390a9e16e3174ecc62f6f1557 /ulogd.conf.in | |
parent | 81e6325d5a1edc1f4558081ce69ebd92b746f4f2 (diff) |
pgsql: add var to specify arbitrary conn params
This patch adds a configuration variable for PostgreSQL output.
Named connstring it stores the character string that will be
used to connect to the PostgreSQL server. This allows the user
to use all options available like TLS parameters for example.
Signed-off-by: Eric Leblond <eric@regit.org>
Diffstat (limited to 'ulogd.conf.in')
-rw-r--r-- | ulogd.conf.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ulogd.conf.in b/ulogd.conf.in index 11a56d6..042bfe1 100644 --- a/ulogd.conf.in +++ b/ulogd.conf.in @@ -231,6 +231,12 @@ table="ulog" #schema="public" pass="changeme" procedure="INSERT_PACKET_FULL" +# connstring can be used to define PostgreSQL connection string which +# contains all parameters of the connection. If set, this value has +# precedence on other variables used to build the connection string. +# See http://www.postgresql.org/docs/9.2/static/libpq-connect.html#LIBPQ-CONNSTRING +# for a complete description of options. +#connstring="host=localhost port=4321 dbname=nulog user=nupik password=changeme" #backlog_memcap=1000000 #backlog_oneshot_requests=10 # If superior to 1 a thread dedicated to SQL request execution |