Export a CREATE script for a database

前端 未结 5 736
北恋
北恋 2021-01-30 10:22

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?

5条回答
  •  庸人自扰
    2021-01-30 10:54

    At least in PgAdmin III 1.22.1 you can get CREATE script doing: 1) right-click on table name 2) "Scripts" -> "CREATE script" There are options to get SELECT, DELETE etc.

提交回复
热议问题