From 9768bfb0920645d360feee3bba8d1aaa1ecd1e2f Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 28 May 2013 21:58:57 +0200 Subject: 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 --- ulogd.conf.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ulogd.conf.in') 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 -- cgit v1.2.3