You would need much more than psql (which in fact you do not really need); you would need a running postgresql server to talk to. The talking would be done via DBI.
But again; not really recommended for the OP (or I would have made a DBI example), just a demo for fun :)
In reply to Re^4: Extract Column of CSV - pretend its a database.
by erix
in thread Extract a column of csv
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |