pgsql: Make sure that debug_query_string contains the original query

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make sure that debug_query_string contains the original query
Date: 2006-10-19 19:52:23
Message-ID: 20061019195223.1B7BE9FA6AF@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make sure that debug_query_string contains the original query text,
if available (which it usually should be), during processing of Bind
and Execute protocol messages. This improves usefulness of
log_min_error_statement logging for extended query protocol.

Modified Files:
--------------
pgsql/src/backend/tcop:
postgres.c (r1.515 -> r1.516)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.515&r2=1.516)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-10-19 19:53:03 pgsql: Fix a couple of places that were assuming debug_query_string
Previous Message Tom Lane 2006-10-19 18:32:48 pgsql: Clean up local redeclarations of variables with DLLIMPORT, per