EPUB | CHM | PDF

Deployment

Top Previous Next

In order to run applications using PostgresDAC, the PostgreSQL client library must be available on a computer or a device.

Windows x86

Client library is situated in the %PostgresDAC%\Deploy folder, %PostgresDAC% is the installation directory. It includes the following files:

      • libpq.dll - core PostgreSQL client driver
      • pg_dump.dll - library for TPSQLDump (optional)
      • pg_restore.dll - library for TPSQLRestore (optional)
      • ssleay32.dll - OpenSSL shared library
      • libeay32.dll - OpenSSL shared library

Copy these files to a directory on your PATH environment variable (e.g. Windows\System32) or place them in the directory where the client application is installed.

Alternatively, you can make use of the installation package from PostgreSQL.org and install only the client libraries.

 

Windows x86-64

Client library is situated in the %PostgresDAC%\Deploy64 folder, %PostgresDAC% is the installation directory. It includes the following files:

      • libpq.dll - core PostgreSQL client driver
      • libintl-8.dll - library that provides native language support
      • ssleay32.dll - OpenSSL shared library
      • libeay32.dll - OpenSSL shared library

There are no dump and restore libraries available for x64 platform yet.

Copy these files to a directory on your PATH environment variable (e.g. Windows\System) or place them in the directory where the client application is installed.

Alternatively, you can make use of the installation package from PostgreSQL.org and install only the client libraries.

 

Android

Android deploy library is available for version with sources only. Trial version cannot be used for Android development.

Client library is situated in the %PostgresDAC%\DeployAndroid folder, %PostgresDAC% is the installation directory. It includes the following file:

      • libpq.so - core PostgreSQL client driver

For using DAC for PostgreSQL with Android target platform you have to follow those steps:

1. Open your project.

2. Open the Deployment Manager (Project -> Deployment).

3. Add libpq.so to the deployment list. You can find this library in this folder.

4. Change remote path for libpq.so to '.\assets\internal\'

 

AndroidDeployment