Improvement for logging bind parameters - Mailing list pgsql-hackers

From Bruce Momjian
Subject Improvement for logging bind parameters
Date
Msg-id 200608171656.k7HGuF414373@momjian.us
Whole thread Raw
List 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@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: pgsql-patches reply-to (was Re: [PATCHES] selecting
Next
From: "Magnus Hagander"
Date:
Subject: Re: BugTracker (Was: Re: 8.2 features status)