Обсуждение: tcpip_socket parameter in postgresql.conf

Поиск
Список
Период
Сортировка

tcpip_socket parameter in postgresql.conf

От
Thomas Kellerer
Дата:
Hello,

according to http://www.postgresql.org/docs/7.4/static/runtime-config.html
the parameter tcpip_socket can be used to enable/disable the usage of
TCP/IP connections. From what I have read this can/could replace the -i
switch for the postmaster.

However, when I try this parameter in my postgresql.conf file, I get an
error message upon startup.

FATAL:  unrecognized configuration parameter "tcpip_socket"

Did I miss anything?
Or is this simply not supported by the Win32 version?

I'm using the win32 binaries from May 20th.

Regards
Thomas




Re: tcpip_socket parameter in postgresql.conf

От
"Magnus Hagander"
Дата:
> Hello,
>
> according to
> http://www.postgresql.org/docs/7.4/static/runtime-config.html
> the parameter tcpip_socket can be used to enable/disable the
> usage of TCP/IP connections. From what I have read this
> can/could replace the -i switch for the postmaster.

Please see the development docs at
http://developer.postgresql.org/docs/postgres/runtime-config.html

This has been changed in CVS (which is what the win32 is off). Look for
listen_addresses.

//Magnus


Re: tcpip_socket parameter in postgresql.conf

От
"Jochem van Dieten"
Дата:
Thomas Kellerer said:
>
> according to
> http://www.postgresql.org/docs/7.4/static/runtime-config.html the
> parameter tcpip_socket can be used to enable/disable the usage of
> TCP/IP connections. From what I have read this can/could replace the
> -i  switch for the postmaster.

That is correct for PostgreSQL 7.4.


> I'm using the win32 binaries from May 20th.

With development snapshots of PostgreSQL, use the development version
of the docs:
http://developer.postgresql.org/docs/postgres/runtime-config.html

Jochem




Re: tcpip_socket parameter in postgresql.conf

От
Thomas Kellerer
Дата:
Jochem van Dieten schrieb:
>>according to
>>http://www.postgresql.org/docs/7.4/static/runtime-config.html the
>>parameter tcpip_socket can be used to enable/disable the usage of
>>TCP/IP connections. From what I have read this can/could replace the
>>-i  switch for the postmaster.
>
>
> With development snapshots of PostgreSQL, use the development version
> of the docs:
> http://developer.postgresql.org/docs/postgres/runtime-config.html
>

Thanks for the quick answer (to Magnus as well)

I assumed something like that, but I didn't know that the docs are online
(this is the first time, I use a developer/snapshot version)

Cheers
Thomas