pg_restore: [归档 (db)] could not execute query: 错误: 语言 "plpgsql" 已经存在
2012-02-01 11:19
330 查看
原因
createdb默认使用template1模板,而template1模板在我们所使用的PGSQL中已安装了plpgsql语言。
解决办法
创建数据库时指定使用模版template0
createdb -T template0 数据库名
createdb默认使用template1模板,而template1模板在我们所使用的PGSQL中已安装了plpgsql语言。
解决办法
创建数据库时指定使用模版template0
createdb -T template0 数据库名
相关文章推荐
- hibernate错误:could not execute native bulk manipulation query
- Could not execute query against OLE DB provider 'OraOLEDB.Oracle'
- 在线音乐网站---(could not execute query)数据库查询错误
- MS SQL 错误:The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "test" was unable to begin a distributed transaction.
- 【xcode】错误之Could not launch "" failed to get the task for process
- org.hibernate.exception.JDBCConnectionException: could not execute query
- org.hibernate.exception.SQLGrammarException: could not execute query处理方式
- 安装虚拟机报错:Could not get vmci driver version: 参数错误. You have an incorrect version of driver "vmci.sys".
- SQL Server"错误 21002: [SQL-DMO]用户 * 已经存在问题解决
- Chrome插件开发之"Could not load extension... Unsopported encoding "错误解决方法
- org.hibernate.exception.JDBCConnectionException: could not execute query
- eclipse 中出现:could not restore workbench layout 错误的解决方法
- 解决建站时或在VS.NET中浏览网页时出现"无法在***已经存在的情况下创建,影像复制该文件"的错误
- PL/SQL,经常会遇见“Could not load "……\bin\oci.dll"”这个错误
- MyEclipse导入项目有错误project was not built due to"Could not delete
- 同步复制错误:The process could not execute 'sp_replcmds' on 'servername'
- 错误处理:"Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- 错误21002:[SQL-DMO]用户"xxx"已经存在
- 使用Openjdk7编译android源码出现"Could not initialize NSS"错误的解决办法