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