Re: question about sql comments in postgresql server logs

2021-08-06 Thread Alan Stange
On 8/6/21 3:14 PM, Tom Lane wrote: > Alan Stange writes: >> 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 n

Re: question about sql comments in postgresql server logs

2021-08-06 Thread Tom Lane
Alan Stange writes: > 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 > th

Re: question about sql comments in postgresql server logs

2021-08-06 Thread Tim Clarke
On 06/08/2021 20:08, Alan Stange wrote: > 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 inc