pg_connect

Name

pg_connect -- �Хå�����ɥ����ФȤ���³�򳫤��ޤ���

Synopsis

pg_connect -conninfo connectOptions
pg_connect dbName [-host hostName]
  [-port portNumber] [-tty pqtty]
  [-options optionalBackendArgs]

���ϡʿ��������������

connectOptions

A string of connection options, each written in the form keyword = value.

��³���ץ����򼨤�ʸ���󡣤��줾�졢�֥������ = �͡פȤ����� ���ǵ��Ҥ���ޤ���

���ϡʸŤ����������

dbName

Specifies a valid database name.

ͭ���ʥǡ����١���̾����ꤷ�ޤ���

[-host hostName]

Specifies the domain name of the backend server for dbName.

dbName �ѥХå������ �����ФΥɥᥤ��̾����ꤷ�ޤ���

[-port portNumber]

Specifies the IP port number of the backend server for dbName.

dbName �ѥХå������ �����Ф� IP �ݡ����ֹ����ꤷ�ޤ���

[-tty pqtty]

Specifies file or tty for optional debug output from backend.

���ץ����ΥХå�����ɤ���ΥǥХå��������Ϥ���ե�����ޤ��� tty ����ꤷ�ޤ���

[-options optionalBackendArgs]

Specifies options for the backend server for dbName.

dbName �ѥХå�����ɥ� ���ФΥ��ץ�������ꤷ�ޤ���

����

dbHandle

If successful, a handle for a database connection is returned. Handles start with the prefix "pgsql".

��������ȡ��ǡ����١�����³�ѤΥϥ�ɥ���֤��ޤ����ϥ�ɥ�̾ �� "pgsql" �Ȥ���ʸ���󤫤�Ϥޤ�ޤ���

**********************************************************

����

pg_connect opens a connection to the Postgres backend.

pg_connect �ϡ� Postgres �Хå�����ɤȤ���³�򳫤��ޤ���

Two syntaxes are available. In the older one, each possible option has a separate option switch in the pg_connect statement. In the newer form, a single option string is supplied that can contain multiple option values. See pg_conndefaults for info about the available options in the newer syntax.

2 �Ĥι�ʸ�����ѤǤ��ޤ����Ť���������Ǥϡ�pg_connect ʸ�������ǽ �ʥ��ץ���󤽤줾���ʬ�������ǥ��ץ���󥹥��å������Ǥ��ޤ����� ������������Ǥϡ�ʣ���Υ��ץ�����ͤ���ä� 1 �ĤΥ��ץ����ʸ���� �����Ǥ��ޤ������������������ǽ�ʥ��ץ����ˤĤ��Ƥξ���� pg_conndefaults �򻲾Ȥ��Ʋ�������

������ˡ

XXX thomas 1997-12-24