BUG #13611: test_postmaster_connection failed (Windows, listen_addresses = '0.0.0.0' or '::')

Поиск
Список
Период
Сортировка
От kondo@sraoss.co.jp
Тема BUG #13611: test_postmaster_connection failed (Windows, listen_addresses = '0.0.0.0' or '::')
Дата
Msg-id 20150910041518.635.87615@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13611
Logged by:          Kondo Yuta
Email address:      kondo@sraoss.co.jp
PostgreSQL version: 9.4.4
Operating system:   Windows 7
Description:

Hello,

According to PostgreSQL document, listen_addresses = '0.0.0.0' or '::' are
allowed.
http://www.postgresql.org/docs/9.4/static/runtime-config-connection.html#GUC-LISTEN-ADDRESSES

But I found "pg_ctl -w ..." timeouts connection test on Windows with
listen_addresses = '0.0.0.0' or '::'.

I found this reason in src/bin/pg_ctl/pg_ctl.c
[test_postmaster_connection(bool)].

When pg_ctl tries to connect to postmaster, it uses "0.0.0.0" as the
target ip address. Unfortunately "0.0.0.0" is not a valid address on
Windows and it fails. Shouldn't pg_ctl translate "0.0.0.0" to
"127.0.0.1" in this case?

В списке pgsql-bugs по дате отправления:

Предыдущее
От: hikkis21c@naver.com
Дата:
Сообщение: BUG #13610: upgrade fail
Следующее
От: allan.kristsensen@schneider-electric.com
Дата:
Сообщение: BUG #13612: postgresql94-setup initdb in kickstart fails