BUG #15439: Script Error
От | PG Bug reporting form |
---|---|
Тема | BUG #15439: Script Error |
Дата | |
Msg-id | 15439-c26b9b1504a0ea49@postgresql.org обсуждение исходный текст |
Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 15439 Logged by: Hic Sunt Dracones Email address: hic.sunt.dracones.89@gmail.com PostgreSQL version: 11.0 Operating system: Windows 10 x64 Description: Today I tried the latest version (11.0) and because it returned to me an error, I unninstalled it to get back the previous version (10.5). But this version had the same behavior: at the installation end of PostgreSQL is showed a message detailing the error then it continues normally to install pgAdmin3. Here is the error described in the install log: Script stderr: Configuring PostgreSQL as auto start Executing C:\Program Files\PostgreSQL/pgc config pg10 --autostart on Script exit code: 1 Script output: Error running config-pg10 Script stderr: usage: usage: config-pg10.py [-h] [--port PORT] [--autostart={on,off}] [--datadir DATADIR] [--logdir LOGDIR] [--svcname SVCNAME] config-pg10.py: error: argument --autostart: expected one argument Error running C:\Program Files\PostgreSQL/pgc config pg10 --autostart on: usage: usage: config-pg10.py [-h] [--port PORT] [--autostart={on,off}] [--datadir DATADIR] [--logdir LOGDIR] [--svcname SVCNAME] config-pg10.py: error: argument --autostart: expected one argument Problem running post-install step. Installation may not complete correctly Error running C:\Program Files\PostgreSQL/pgc config pg10 --autostart on: usage: usage: config-pg10.py [-h] [--port PORT] [--autostart={on,off}] [--datadir DATADIR] [--logdir LOGDIR] [--svcname SVCNAME] config-pg10.py: error: argument --autostart: expected one argument To solve that, for the version 10.5 I just opened the cmd prompt in postgres installation folder and runned (as Admin) the following code: > pgc config pg10 --autostart=on Seemingly, it was missing the signal " = ". Before it, I tried the same process with version 11.0, the service was correctly created, but pgAdmin3 didn't work very well. It was showing a lot of errors when creating connections, databases, tables...
В списке pgsql-bugs по дате отправления: