Populate database postgres code example Example 1: fill up postgres db psql -U postgres Example 2: populate db from command line postgres \i 'path/to/file.sql'