Re: 7.0.2 install doesn't read .conf files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.0.2 install doesn't read .conf files
Дата
Msg-id 21188.966652872@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 7.0.2 install doesn't read .conf files  (Eugene Lee <eugene@anime.net>)
Ответы Re: 7.0.2 install doesn't read .conf files  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
Eugene Lee <eugene@anime.net> writes:
> Note, no "-i" option.  Instead, I added the line "tcpip_socket = yes"
> in the file /usr/local/pgsql/data/postgresql.conf to enable TCP/IP
> socket access.  But the line in the config file doesn't work.

There is no such config file in 7.0.*.  You must be reading the
development-sources documentation at postgresql.org.  See the 7.0
docs included in your distribution (they're also on the website,
but you have to dig a little).

> However, instead of being denied outright, I can connect to the default
> port from the outside world.

By "connect" I suppose you mean you telnet to the port and type a few
random characters?

> In the logs, it shows up as an entry with
> a datetime stamp and a message "Invalid packet length".  Is this normal
> PostgreSQL behavior?

That's about what I'd expect, since authorization checks aren't applied
until the would-be client has sent a connection-request packet.

If you want to prevent the connection from even reaching the postmaster,
I recommend messing around with your firewall's filters.

            regards, tom lane

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

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: Unimpletmented features
Следующее
От: Tom Lane
Дата:
Сообщение: Re: AS3AP Implementation for PostgreSQL/Linux ?