Re: Exec statement logging - Mailing list pgsql-patches

From Simon Riggs
Subject Re: Exec statement logging
Date
Msg-id 1116193727.3830.507.camel@localhost.localdomain
Whole thread Raw
In response to Re: Exec statement logging  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Exec statement logging
List pgsql-patches
On Sun, 2005-05-15 at 13:29 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > On Sat, 2005-05-14 at 16:55 -0400, Bruce Momjian wrote:
> >> One thing you did was to log debug_query_string, but I don't see how
> >> that could be the right value.
>
> > I used the debug_query_string because even in the EXEC case it is set,
> > so that the SQL statement appears correctly in pg_stat_activity. It may
> > look wrong, but it is there.
>
> The reason debug_query_string is the right thing is that
> exec_execute_message is careful to set it up...

I realised that luck played little part and that some foreward planning
had gone into it.

Somebody out there is too modest to point out how often it is that I
only dot the "I"s they have left for me...

Best Regards, Simon Riggs


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Exec statement logging
Next
From: Alvaro Herrera
Date:
Subject: Re: Exec statement logging