Re: Connecting to a remote db server

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Connecting to a remote db server
Дата
Msg-id 20130710222257.GE4941@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Connecting to a remote db server  ("Struckhoff, Kevin" <kstruckhoff@ebay.com>)
Ответы Re: Connecting to a remote db server  ("Struckhoff, Kevin" <kstruckhoff@ebay.com>)
Список pgsql-admin
Struckhoff, Kevin wrote:
> I've installed postgres 9.2 on a server, call it db01. I now want to access postgres from my app server, call it
app01.
>
> What do I install on the app01 server? I've installed postgres 9.2 on it and set the postgresesql.conf file's
listen_addressto a value of '*' on both machines. I've also modified the pg_hba.conf file to be wide open for now on
bothmachines. 
>
> It seems that something else is missing or needs to be done. Googling wasn't much help, the results weren't current.

What's your operating system?  There are two separate pieces, client and
server.  On the application side you don't need the server packages, so
normally there's no postgresql.conf file there at all, and no
pg_hba.conf either; both are server-side only configuration files.  You
just need libpq, and whatever client libraries your apps use.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: "Struckhoff, Kevin"
Дата:
Сообщение: Connecting to a remote db server
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Connecting to a remote db server