Save output from multiple SQL SELECT commands to a file
-
31-10-2019 - |
Question
Within a Postgres function I would like to run a number of SQL SELECT
commands and append the output to the same variable. After all the SELECT
commands have run this output should be written to a file so that the user could read this report.
What is the best way to implement this?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange