📅  最后修改于: 2022-03-11 15:04:54.442000             🧑  作者: Mango
-- My solution was using DBeaver without using commands
psql -U username -d dbname < filename.sql
-- For Postgres versions 9.0 or earlier
psql -U username -d dbname -1 -f filename.sql