Re: [GENERAL] Postgres csv logging

2017-07-22 Thread Alessandro_feliz
Hi David, thank you for your reply. David G Johnston wrote > As the comment there says your config and your output seem at odds. What I showed was the output present in the csv log, the output in the text file log has the prefix that I indicated in the configration file. Either way, I managed t

Re: [GENERAL] Postgres csv logging

2017-07-21 Thread David G. Johnston
It is customary to indicate when you've posted the same question to other forums - in this case SO. https://dba.stackexchange.com/questions/180263/postgres-log-query-and-command-tag-to-csv As the comment there says your config and your output seem at odds. Though I think your confusion is still

[GENERAL] Postgres csv logging

2017-07-21 Thread Alessandro_feliz
I am trying to log executed queries into a csv file. My main objective is to log the command tag and query. For that I enabled logging in the postgresql.conf, my configs are the following: #-- # ERROR REPORTING AND LOGGIN