Output PSQL query to STDOUT as CSV with bash script variables

后端 未结 0 840
逝去的感伤
逝去的感伤 2020-11-21 05:23

I am trying to run a posgresql query from a bash script and return the result as a csv file to STDOUT. I am able to do that either with the --csv flag or COPY TO STDOUT WITH

相关标签:
回答
  • 消灭零回复
提交回复
热议问题