Chapter 4. PGEDriverUtils.pas

The pgeDriverUtils.pas unit, in the Extras directory, adds some useful functions to retrieve/set information from the pgExpress Driver and the PostgreSQL server. This information is retrieved via callback functions and all or most of them are available in D7+ only which supports the eConnCustomInfo interface.

The function marked as "D7+" depend on the eConnCustomInfo and thus cannot be run on Delphi versions less the 7.0 or Kylix.

When using the protocol 3.0 pgExpress Driver, use the DBXPROTOCOL30 define in your project settings, compiler command line or at the top of the unit: