RE: libpq debug log - Mailing list pgsql-hackers

From Iwata, Aya
Subject RE: libpq debug log
Date
Msg-id 71E660EB361DF14299875B198D4CE5423DE82363@g01jpexmbkw25
Whole thread Raw
In response to RE: libpq debug log  ("Iwata, Aya" <iwata.aya@jp.fujitsu.com>)
Responses Re: libpq debug log
List pgsql-hackers
Hi,

I created a new version patch. Please find attached my patch.

Changes:
Since v2 patch
I forgot to write the detail of v2 patch changes. So I write these.
- Fixed the " Start receiving message from backend:" message location. Because I found that message located at outside
of"retry4". 
 
- Changed location where output "start :" / "end :" messages and timestamp. The reason of the change is that v1 patch
didnot correspond to Asynchronous Command Processing.
 
- Added documentation
- Added documentation how to check mistake of logdir and/or logsize. (Based on review comment of Jim san's)
Since v3 patch
- Fixed my mistake on fe-connect.c. Time and message were output at the place where does not output in originally
PQtrace().These messages are needed only new trace log. So I fixed it.
 
- Fixed two points so that new trace log overlaps all places in PQtrace(). (Based on review comment of Jacob san's)

TODO:
I will add the feature called "logging level" on next version patch. I will attach it as soon as possible.

I'm marking it as "Needs review".

Regards,
Aya Iwata

Attachment

pgsql-hackers by date:

Previous
From: rajan
Date:
Subject: vacuum and autovacuum - is it good to configure the threshold atTABLE LEVEL?
Next
From: Thomas Munro
Date:
Subject: Re: dsa_allocate() faliure