pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Need query parameter in logs
2+ messages / 2 participants
[nested] [flat]

* Need query parameter in logs
@ 2006-02-09 21:21  Robert Perry <rlperry@lodestonetechnologies.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Robert Perry @ 2006-02-09 21:21 UTC (permalink / raw)
  To: pgsql-admin

	I am trying to help debug a application that is deployed in the  
field. I suspect that it is sending some unexpected values to some  
stored procs, but the logs look very much like:

Feb 9 14:29:26 localhost postgres[3138]: [122-1] LOG: statement:  
Select * from game_state_set_disqualified( $1, $2, $3, $4 )

	How can I find out what $1, $2, $3, $4 are short of recompiling the C 
++ client code?

Thanks
Robert Perry




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Need query parameter in logs
@ 2006-02-13 08:59  Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
  parent: Robert Perry <rlperry@lodestonetechnologies.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tsirkin Evgeny @ 2006-02-13 08:59 UTC (permalink / raw)
  To: Robert Perry <rlperry@lodestonetechnologies.com>; +Cc: pgsql-admin

Well I am not a guru ,but maybe you can add
raise notice
to your game_state_set_disqualified ?

On 2/9/06, Robert Perry <rlperry@lodestonetechnologies.com> wrote:
>
>         I am trying to help debug a application that is deployed in the
> field. I suspect that it is sending some unexpected values to some
> stored procs, but the logs look very much like:
>
> Feb 9 14:29:26 localhost postgres[3138]: [122-1] LOG: statement:
> Select * from game_state_set_disqualified( $1, $2, $3, $4 )
>
>         How can I find out what $1, $2, $3, $4 are short of recompiling
> the C
> ++ client code?
>
> Thanks
> Robert Perry
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
>

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-02-13 08:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09 21:21 Need query parameter in logs Robert Perry <rlperry@lodestonetechnologies.com>
2006-02-13 08:59 ` Tsirkin Evgeny <tsurkin@mail.jct.ac.il>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox