[nagios-plugins] check_pgsql is too restrictive with database names (#1214)
Dan Langille
notifications at github.com
Fri Nov 15 02:54:29 CET 2013
Hi,
check_pgsql restricts database names to [^_a-zA-Z0-9-]
However, that's not valid for quoted identifiers, such as "freshports.org"
Any character, except null, is valid.
ref: http://www.postgresql.org/docs/current/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
"Quoted identifiers can contain any character, except the character with code zero."
Blog post: http://dan.langille.org/2013/11/14/nagios-plugin-check_pgsql-cant-handle-all-valid-database-names/
HTH
---
Reply to this email directly or view it on GitHub:
https://github.com/nagios-plugins/nagios-plugins/issues/1214
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20131114/c1f6ebd3/attachment.html>
More information about the Devel
mailing list