PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15439
PG Version11.0
OSWindows 10 x64
Opened2018-10-19 00:36:21+00
Reported byHic Sunt Dracones
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15439
Logged by:          Hic Sunt Dracones
Email address:      (redacted)
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...

Messages

DateAuthorSubject
2018-10-19 00:36:21+00=?utf-8?q?PG_Bug_reporting_form?=BUG #15439: Script Error