Created by: jsvine
Thoughts on this? Postgres' psql command outputs an ASCII table. This pull request adds in2csv support for this format. Too niche?
Example input, via http://www.postgresql.org/docs/9.3/static/tutorial-select.html:
     city      | temp_lo | temp_hi | prcp |    date
---------------+---------+---------+------+------------
 San Francisco |      46 |      50 | 0.25 | 1994-11-27
 San Francisco |      43 |      57 |    0 | 1994-11-29
 Hayward       |      37 |      54 |      | 1994-11-29
(3 rows)
Example output:
city,temp_lo,temp_hi,prcp,date
San Francisco,46,50,0.25,1994-11-27
San Francisco,43,57,0,1994-11-29
Hayward,37,54,,1994-11-29