Assad Jarrahian <jarraa(at)gmail(dot)com> writes:> \c does not work in .sql script run in psql.
Nonsense. Try it again, and show us exactly what you did and whatmessage you got, rather than leaping to silly conclusions.
regards, tom lane