Postgresql 11.1:“问题正在运行安装后步骤。安装可能无法正确完成。配置或权限出错。”

时间:2018-11-11 20:57:13

标签: postgresql

我检查了日志文件,我认为这是引起问题的部分:

Setting up database 
[15:30:54] Configuring pg11 to point to existing data dir D:\John's Files\My Documents\Code\Databases\PostgreSQL\data\pg11 
Setting PostgreSQL port
= 5432 
Executing C:\Installed Software\Developer Software\PostgreSQLv11.1/pgc config pg11 --datadir "D:\John's Files\My Documents\Code\Databases\PostgreSQL\data\pg11" 
Script exit code: 1

Script output:  ################################################
# FATAL SQL Error in check_release
#    SQL Message =  near "s": syntax error
#  SQL Statement = SELECT r.component FROM releases r, versions v   
 WHERE r.component = v.component     
    AND r.component LIKE '%D:\John's Files\My Documents\Code\Databases\PostgreSQL\data\pg11%' AND v.is_current = 1
################################################

Script stderr:  Program ended with an error exit code

Error with configuration or permissions. Please see log file for more information. 
Problem running post-install step. Installation may not complete correctly      
Error with configuration or permissions. Please see log file for more information.

我认为问题出在“约翰的”中。有谁知道这是对的吗?有解决此问题的方法吗?我不想重命名目录,因为Postgresql无法处理撇号。

0 个答案:

没有答案