AnyDAC
ContentsIndexHome
PreviousUpNext
TADPhysPgDriverLink Class

Use the TADPhysPgDriverLink component to link the PostgreSQL driver to an application and setup it.

Group
Class Hierarchy
uADPhysPG_TADPhysPgDriverLinkuADPhysPG_TADPhysPgDriverLink
File

uADPhysPG

Links

Use the TADPhysPgDriverLink component to link the PostgreSQL driver to an application. In general it is enough to only include uADPhysPG unit into your application uses clause. 

The TADPhysPgDriverLink component may be used to specify:

  • VendorHome - the PostgreSQL installation root folder;
  • VendorLib - the name and optional path to the PostgreSQL client library.

All properties have default values appropriate for most case. To have an effect all property changes must be performed before first connection through this driver or use the Release method.

TADPhysPgDriverLink = class(TADPhysDriverLink);
ADPhysPgDriverLink1.VendorLib := 'E:\PostgreSQL\9.0\bin\libpq.dll';
What do you think about this topic? Send feedback!