I am using PostgreSQL 8.4, and I have some *.sql files to import into a database. How can I do so?
Be careful with "/" and "\". Even on Windows the command should be in the form:
\i c:/1.sql