rsyslog / rsyslog-doc

documentation for the rsyslog project
Other
98 stars 250 forks source link

ompgsql: Use option.stdsql instead of option.sql in examples #972

Closed H4kor closed 2 years ago

H4kor commented 2 years ago

Postgres uses double single quotes '' to escape single quotes in strings [1]. For a default postgres setup the option.stdsql should be used instead of option.sql [2].

[1] https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-STRINGS [2] https://www.rsyslog.com/doc/v8-stable/configuration/templates.html#options