Open Tech archive
Sharing what I know!!!
About Me
Prakash
Working as Technical Lead in CollabNET software private limited.
View my complete profile
Thursday, 24 September 2009
psql output to file
Below is the command to redirect psql output to a file.
psql> \o /tmp/file.txt
psql> select * from table
This should allow output to custom file.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment