Say I\'ve created a database in pgAdmin, but I want to export a CREATE sql file.
How would I go about generating the dump?
Here's how to use pgAdmin to create a schema script that can be used with a PostgreSql database schema comparison tool such as apgdiff. These instructions are for pgAdmin3.
/some/path/my_script.sql
). Note: Yes, I realize that pgAdmin uses pg_dump behind the scenes to create the script, but the question was about pgAdmin, so this is the GUI method.