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?
pgAdmin however does have a facility to do what you want:
Right-click on the database you want to export
Select Backup from the pop-up menu
Choose "format" Plain.
Choose "plain option" Only schema