summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-03 11:06:46 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-03 11:06:46 +0000
commit83b91cb8940986b365d58b04fe633fe396ff5d6b (patch)
tree2fed11b7eb3e50170f2ef8556e216300a247db07 /template.h
parentf500fbf50508c9c82d343a8ef6196ca25447402c (diff)
downloadrsyslog-83b91cb8940986b365d58b04fe633fe396ff5d6b.tar.gz
rsyslog-83b91cb8940986b365d58b04fe633fe396ff5d6b.tar.xz
rsyslog-83b91cb8940986b365d58b04fe633fe396ff5d6b.zip
adding sur5r's postgres module - many thanks for providing it! There are a
number of patches necessary to core modules, because we need a new formatting function (date-pgsql).
Diffstat (limited to 'template.h')
-rw-r--r--template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.h b/template.h
index e099e58a..c5ea8c48 100644
--- a/template.h
+++ b/template.h
@@ -34,7 +34,7 @@ struct template {
enum EntryTypes { UNDEFINED = 0, CONSTANT = 1, FIELD = 2 };
enum tplFormatTypes { tplFmtDefault = 0, tplFmtMySQLDate = 1,
- tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3 };
+ tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3, tplFmtPgSQLDate = 4 };
enum tplFormatCaseConvTypes { tplCaseConvNo = 0, tplCaseConvUpper = 1, tplCaseConvLower = 2 };
#include "msg.h"