From 83b91cb8940986b365d58b04fe633fe396ff5d6b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 3 Dec 2007 11:06:46 +0000 Subject: 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). --- msg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'msg.h') diff --git a/msg.h b/msg.h index 8f411f77..3ad63b46 100644 --- a/msg.h +++ b/msg.h @@ -91,10 +91,12 @@ struct msg { char *pszRcvdAt3164; /* time as RFC3164 formatted string (always 15 charcters) */ char *pszRcvdAt3339; /* time as RFC3164 formatted string (32 charcters at most) */ char *pszRcvdAt_MySQL; /* rcvdAt as MySQL formatted string (always 14 charcters) */ + char *pszRcvdAt_PgSQL; /* rcvdAt as PgSQL formatted string (always 21 characters) */ struct syslogTime tTIMESTAMP;/* (parsed) value of the timestamp */ char *pszTIMESTAMP3164; /* TIMESTAMP as RFC3164 formatted string (always 15 charcters) */ char *pszTIMESTAMP3339; /* TIMESTAMP as RFC3339 formatted string (32 charcters at most) */ char *pszTIMESTAMP_MySQL;/* TIMESTAMP as MySQL formatted string (always 14 charcters) */ + char *pszTIMESTAMP_PgSQL;/* TIMESTAMP as PgSQL formatted string (always 21 characters) */ int msgFlags; /* flags associated with this message */ }; typedef struct msg msg_t; /* new name */ -- cgit