In MYSQL there's a functionality where I can export a select statement directly to a file... such as...
SELECT * FROM table
INTO OUTFILE '/tmp/testing.txt'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
is there something similar to this in PostGreSQL?
SELECT * FROM table
INTO OUTFILE '/tmp/testing.txt'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
is there something similar to this in PostGreSQL?