How to save PostgreSQL psql query output to a file

preview_player
Показать описание
sql - Save PL/pgSQL output from PostgreSQL to a CSV file
postgresql - psql - save results of command to a file
Save PL/pgSQL output from PostgreSQL to a CSV file
shell - How to export a PostgreSQL query output to a csv file
Saving an output of PostgreSQL query to a text file
PostgreSQL how to redirect output to a file
Simple Export to CSV with Postgres Example
OR
OR
Рекомендации по теме
Комментарии
Автор

what if you want to have multiple query to one file. I noticed this method over wrights the file each time you copy

ShahidFoy
join shbcf.ru