psql -h host -U user db -o file.csv -c 'query;'
echo 'query;' | psql -h host -U user db > file.csv
psql -h host -U user db \o file.csv query;
Нема коментара:
Постави коментар