I want to upload a .sql or .xml file in postgresql database using terminal. I saw several solution as I linked followed, but unfortunately none of them works.
It would be nice to get an example. I'm using psql (PostgreSQL) 9.1.5. in Linux environment. Thanks in advance. Possible duplicate: Link-1, Link-2,Link-3, Link-4