postgres outfile
Written by leave
postgres "select into outfile" == use \copy
meta-command, e.g.\copy (SELECT * FROM tbl) TO '/tmp/result.csv' WITH CSV
postgres "select into outfile" == use \copy
meta-command, e.g.\copy (SELECT * FROM tbl) TO '/tmp/result.csv' WITH CSV
Внезапно куда-то исчезла БД бложека, вместе с пользователем. В логах пустота. Мистика?
Somehow the whole blog DB has gone, /dev/null'ing everything I've written during a year. Mystic.