If you have a file with sql in it (say create-table.sql) you can pass it to postgres via the client program psql with the following syntax:
$ psql database < create-table.sql
Beacon Hill, a New York based technology solutions provider to financial firms with expertise in enterprise system development.