+3 votes
in Databases by (74.8k points)
I want to import data from .sql files to PostgreSQL, how can I do that?

1 Answer

+1 vote
by (74.8k points)
selected by
 
Best answer

If you have logged on postgreSQL, type the following command to import data.

\i filename.sql 


...