WeLoveDoctor
Written by
in
psql 명령어를 통해서 스크립트를 실행시키는 것은 생각보다 쉽다.
sudo -u postgres psql -a -d [DB이름] -f [스크립트]
-a는 결과 보여주기(echo)이다.