Re: using POSTGRES in a network - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: using POSTGRES in a network
Date
Msg-id Pine.LNX.4.30.0104261721430.758-100000@peter.localdomain
Whole thread Raw
In response to using POSTGRES in a network  ("hiroko" <h_ogawa@rnk.co.jp>)
List pgsql-general
hiroko writes:

> when you connect to the remote DBserver from Windows,
> what you need is to set the IP of the server in "hosts"file
> and to set your IP as DBuser to the server machine.
> and you can access through the command-line, using "psql"
> but if you wannna do this on the programs??????
> can you do the same thing using the function such as "db_connect" or
> PGDBfunctions???

This depends on what language interface you use for your program.  Each
language has a function/command to initiate a database connection, and
that function usually has an option to select the address of the server
host.  See the documentation of the respective interface.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Struggling to change default data location
Next
From: Peter Eisentraut
Date:
Subject: Re: Table Creation Question.