Re: Connect to pg via tcpip

Поиск
Список
Период
Сортировка
От Joel Burton
Тема Re: Connect to pg via tcpip
Дата
Msg-id Pine.LNX.4.30.0110191643420.22474-100000@temp.joelburton.com
обсуждение исходный текст
Ответ на Connect to pg via tcpip  (Stephane Pinel <spinel@noos.fr>)
Список pgsql-novice
On Fri, 19 Oct 2001, Stephane Pinel wrote:

> I need to connect to a pgsql database from a remote place. I read the manual
> and made all the changes in pg_hba.conf etc... But it don't runs.
> Maybe someone could explain to me all the steps I have to complete ?

It's helpful to post error messages you receive rather than simply saying
it doesn't run.

The most likely problem is that you're not running the postmaster or
pg_ctl program w/TCP connections enabled. As a security precaution,
they're
disabled by default.

Either:

(a) add -o "-i" to your postmaster or pg_ctl command (for occasional TCP
use depending on startup)

or

(b) edit postgresql.conf to set tcpip_socket = true

HTH,

 --

Joel BURTON  |  joel@joelburton.com  |  joelburton.com  |  aim: wjoelburton
Independent Knowledge Management Consultant


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

Предыдущее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: Connect to pg via tcpip
Следующее
От: Jason Davis
Дата:
Сообщение: Re: ecpg and multiple connections