Обсуждение: setting up a client only service

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

setting up a client only service

От
Tena Sakai
Дата:
Hi everybody,

I have postgres (v8.3.7) running happily on a Linux machine,
named X.  I want to access the database on X from another
linux machine, called Y, on the same network.  X is a 64-bit
Machine and runs redhat, while Y is a 32-bit machine with
centOS.  My idea is to have only psql on machine Y and have
Y's PGHOST environmental variable point to X.

Is this correct?  If so, where can I go to get psql only for
A 32-bit linux machine?

If not, please clue me in as to how I can do what I want.

Thank you in advance.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


Re: setting up a client only service

От
Tom Lane
Дата:
Tena Sakai <tsakai@gallo.ucsf.edu> writes:
> Is this correct?  If so, where can I go to get psql only for
> A 32-bit linux machine?

Practically all packagings of Postgres separate the server programs
from the client-side programs.  In the case of the RPMs, for example,
you'd just install the base "postgresql" package and not
"postgresql-server".  It's not "psql only" but the stuff in that
package is what is expected to be useful on a client-only machine.

            regards, tom lane