Re: Connecting to Postgres

Поиск
Список
Период
Сортировка
От Martin Marques
Тема Re: Connecting to Postgres
Дата
Msg-id 200312271636.21660.martin@bugs.unl.edu.ar
обсуждение исходный текст
Ответ на Connecting to Postgres  (Nailah Ogeer <ogeer@cs.queensu.ca>)
Список pgsql-general
El Sáb 27 Dic 2003 16:08, Nailah Ogeer escribió:
> How do you connect to postgres if it is running on a different machine. I
> am looking for a telnet command in place of postmaster -D data

Depends on what you want to do.
One way arounf would be:

1) Edit the pg_hba.conf where the PG server is running so that you can
actually connect to the DB.
2) Run this:

$ psql -d database -h host -U user

where database, host and user are self explained. :-)

If what you want is something different please explain yourself.

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telemática
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Strange permission problem regarding pg_settings
Следующее
От: Gianni Mariani
Дата:
Сообщение: Re: Is my MySQL Gaining ?