Thread

  1. RE: libpq debug log

    Aya Iwata (Fujitsu) <iwata.aya@fujitsu.com> — 2019-11-13T04:20:11Z

    Hello,
    
    Thank you for your review.
    I update patch. Please find attached my patch.
    
    
    > > 2019-04-04 02:39:51.488 UTC  > Query 59 "SELECT
    > pg_catalog.set_config('search_path', '', false)"
    > 
    > The "59" there seems quite odd, though.
    Could you explain more detail about this?
    
    "59" is length of protocol message contents. (It does not contain first 1 byte.) 
    This order is based on the message format.
    https://www.postgresql.org/docs/current/protocol-message-formats.html
    
    
    > * What is this in pg_conn?  I don't understand why this array is of size
    >   MAXPGPATH.
    > +	PGFrontendLogMsgEntry frontend_entry[MAXPGPATH];
    >   This seems to make pg_conn much larger than we'd like.
    Sure. I remove this and change code to use list.
    
    > Minor review points:
    I accept all these review points.
    
    Regards,
    Aya Iwata