Represents an open connection to a PostgreSQL database.
For a list of all members of this type, see TPgConnection members.
TPgConnection = class(TCustomDAConnection);
The TPgConnection component is used to maintain connection to a PostgreSQL database. After setting the Username, Password, Server, and Database properties, you can establish a connection to the database by calling the Connect method or setting the Connected property to True. There are also many properties at the connection level that affect the default behavior of the queries executed within this connection.
Use this component in conjunction with TPgQuery, TPqTable, TPgStoredProc or other components for convenient interoperation with PostgreSQL database.
TPgConnection object represents a unique connection to PostgreSQL database.
Note: If the port differs from the default one (5432) please use the Port property to set it.