9.1

This chapter includes the following topics:
n
“Client Tool Packages and Drivers,” on page 16
n
“Install the Client Tools Package,” on page 17
n
“Installing vPostgres Client Tools,” on page 18
n
“Add an x86 vPostgres ODBC Data Source on Windows,” on page 18
n
“Using vPostgres libpq with Your Application,” on page 18
Client Tool Packages and Drivers
Packages
If you plan to write code, and you plan on compiling an application to link with libpq, download both the
client package and the development package.
You can download the client tool package for your platform from the VMware download site at
http://www.vmware.com/go/download-datadirector.
Table 3-3. Client Tool Packages
Operating System Packages
Microsoft Windows Windows client tools packages are available for 32-bit and
64-bit systems.
Linux The following Linux client tools packages are available for
32-bit and 64-bit systems.
n
A JDBC package in ZIP format. The JDBC package
provides the JDBC driver and sample code.
n
Client RPMs for 32-bit and 64-bit systems. The client
RPMs provide platform-appropriate binaries, ODBC
driver, and libraries.
n
Client development RPMs for 32-bit and 64-bit systems.
The client development RPMs provide platform-
appropriate include files for application development.
Client Drivers
The vPostgres client tools package includes a JDBC driver and an ODBC driver customized for vPostgres. Use
the vPostgres JDBC or ODBC drivers, not the standard Postgres drivers, to connect to Data Director.
JDBC Driver
After installation, you can find the JDBC driver in the following locations.
Table 3-4. Location of JDBC Driver
Operating System JDBC Driver Location
Microsoft Windows
C:\Program
Files\VMware\vPostgres\9.1\JDBC
Linux
/opt/vmware/vpostgres/9.1/JDBC
The Samples directory contains a simple Java example and README file that show
how to connect to Data Director using JDBC.
vFabric Postgres Standard Edition User Guide
16 VMware, Inc.