标签: database-template

如何从PostgreSQL中删除模板数据库?

postgres=# DROP DATABASE template_postgis;
ERROR:  cannot drop a template database
Run Code Online (Sandbox Code Playgroud)

http://www.postgresql.org/docs/9.1/static/manage-ag-templatedbs.html看起来好像我设置了template_postgis.datistemplate = false,我可以放弃它,但我不知道如何设置.

postgresql database-template postgresql-9.1

49
推荐指数
2
解决办法
2万
查看次数