Re: libpq debug log - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: libpq debug log
Date
Msg-id 20210317163632.GA19151@alvherre.pgsql
Whole thread Raw
In response to libpq debug log  ("Iwata, Aya" <iwata.aya@jp.fujitsu.com>)
Responses RE: libpq debug log  ("tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>)
List pgsql-hackers
Hello

In pqTraceOutputString(), you can use the return value from fprintf to
move the cursor -- no need to count chars.

I still think that the message-type specific functions should print the
message type, rather than having the string arrays.

-- 
Álvaro Herrera       Valdivia, Chile
"La gente vulgar sólo piensa en pasar el tiempo;
el que tiene talento, en aprovecharlo"



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH]: Allow errors in parameter values to be reported during the BIND phase itself..
Next
From: Julien Rouhaud
Date:
Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?