Обсуждение: Improvement for logging bind parameters

Поиск
Список
Период
Сортировка

Improvement for logging bind parameters

От
Bruce Momjian
Дата:
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. +