Skip to content

Clients Introduction

There are many different programming languages that can create a connection to PostgreSQL, and most of them have their own client.

This documentation helps the end user get started with successfully setting up a client connection.

Dependencies

Instructions

Depending on the driver, the configuration must be done in a different way.

Check the Dependencies list for the relevant type of driver and read the associated documentation.

Furthermore, the following should be taken into account:

  • Use the latest version of the driver whenever possible
  • At a minimum, use the version that was released after the used PostgreSQL Major. Example:
  • The client certificate, private key, and root certificate must be readable by the application user account.
  • Ensure the path is configured correctly.
  • Note: Private keys must only be sent encrypted!!!
  • Direct connection to PostgreSQL (port 5432 of the database hosts)
  • has several advantages
    • A direct connection avoids (software / network) hops and associated latencies
    • The hba file can be configured more specifically
  • however, it also has disadvantages