Improvement for logging bind parameters

Started by Bruce Momjianover 19 years ago1 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Guillaume Smet has asked how the new protocol-level bind parameters in
the log file can be processed cleanly by scripts, especially if
double-quotes appear in the string.

I think the fix is to use single quotes for bind strings, rather than
double quotes, and to double literal single quotes in the string. Is
that OK for everyone?

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +