When moving a database from one computer to another, you've got to copy all the data.
For PostgreSQL, there is a pair of functions named pg_dump and pg_restore.
In most cases that works great, however, some systems may create things such as additional functions that will NOT make it across. I do not know how to get that to work (and maybe it works in newer version of PostgreSQL?)
In any event, in most cases the following commands are enough (I used them with Drupal websites and since they stopped using some of the definitions they have in the system.install file used on initialization, ...