Improvement for logging bind parameters

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Cc: guillaume(dot)smet(at)gmail(dot)com
Subject: Improvement for logging bind parameters
Date: 2006-08-17 16:56:15
Message-ID: 200608171656.k7HGuF414373@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-08-17 16:56:40 Re: BugTracker (Was: Re: 8.2 features status)
Previous Message Magnus Hagander 2006-08-17 16:56:09 Re: pgsql-patches reply-to (was Re: [PATCHES] selecting