Search Postgresql Archives

question about sql comments in postgresql server logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

In order to track down some bugs, we thought it would be useful to
append some comments to the sql being sent to postgresql like this:
    select foo from bar   -- a comment with some metadata
however, the postgresql server was not including the appended comment in
the log file.

If we instead sent
    select foo from /* a comment with some metadata */ bar
then the comment was included in the server log file as we had hoped.

Is there some way can get the statement as sent to the server emitted
into the log file in a case like this?   I looked through the server
documentation and don't see an option that would clearly alter this
behavior.

Thank you,

Alan







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux