Re: [PATCHES] log_statement output for protocol prepare/bind/execute

2006-08-04 Thread Guillaume Smet
Bruce, Am I missing something or this patch doesn't implement the logging of the parameters? Do you think it will be possible to have it for 8.2? I must admit I'd really like to be able to parse the prepared statements log output as currently it's impossible to rebuild the complete queries from

Re: [PATCHES] log_statement output for protocol prepare/bind/execute

2006-08-04 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I modified the code to store the user statement name in the portal for > protocol execute, so I can print the user name at that time. Please forget that and print the portal name. I'm getting tired of repeating it, but: there are two different names her

Re: [PATCHES] log_statement output for protocol prepare/bind/execute

2006-08-04 Thread Bruce Momjian
Sorry, this is the right patch. --- bruce wrote: > Tom Lane wrote: > > Bruce Momjian <[EMAIL PROTECTED]> writes: > > > ! (errmsg("statement: [protocol] > > > %s", portal_name))); > > > >