pg95-connect

Name

pg95-connect -- Underlying function to connect to PG95

Type: function

Synopsis

pg95-connect( host port opts tty database, cnxn);

Arguments

host

An instance of <string>

port

An instance of <string>

opts

An instance of <string>

tty

An instance of <string>

database

An instance of <string>

Return Values

cnxn

An instance of <pg95-connection>

Description

This function, like postgres-connect, connects to a postgres 95 database. However, the arguments are explicit rather than being keywords. The string arguments should be empty strings if the intention is to pass NULL to the PQsetdb() function (which is the default).