Skip to main content
Version: 5.6

PostgreSQL Plug-in

warning

The PostgreSQL plug-in does not support user-defined data types or JSON as a data type.

"Connection Settings" tab

PropertyDescription
NameAny name under which this database server appears in the connection project. Choose a name that is unique to you during connection project planning.
Host/IP/FileAddress of the PostgreSQL server.
PortSelection of the port for the database connection. The port can be changed if necessary.
Data sourceName of the database to be used.
UserUser name for logging on to the PostgreSQL server.
PasswordPassword for logging on to the PostgreSQL server.

"Security" tab

PropertyDescription
SSL ModeProperty that determines how the SSL connection is managed. The functionality is explained here.
SSL CertificateSelection of an SSL client certificate from the drop-down list, which the OPC Router sends along with the data.
SSL PasswordPassword to access the private key of the client certificate, which is sent to the server during the SSL handshake.
Root CertificateSelect a root certificate (CA) from the drop-down list, which the OPC Router sends along with the data.
Service NameKerberos service name of the PostgreSQL server.
Check certificate revocationEnable if the certificate revocation list is to be checked during authentication. (Default is False).
Include realmEnable if Kerboros realm is to be used for authentication.
Trust server certificate

Enable if the server certificate should be trusted

without validating it.

"Advanced" tab

PropertyDescription
Target Session AttributesDetermines the preferred PostgreSQL target server type.
KeepaliveThe interval in seconds at which consecutive keepalive packets are sent if no acknowledgment is received.
Host Check IntervalSpecifies how long the host's cache state is considered valid.
Server Compatibility ModeProperty that describes the server compatibility mode. The functionality is explained here.
Load Balance TimeoutThe maximum total lifetime of connections (in seconds). Connections that have exceeded this value are destroyed instead of being returned to the pool. This is useful in cluster configurations to enforce load balancing between a running server and a server that has just come online.
Timestamp ModeProperty that determines how the timestamp is handled. The functionality is explained here.
Time ZoneThe time zone of the PostgreSQL session in Olson/IANA database format.
EncodingSpecifies the encoding for encoding/decoding PostgreSQL string data.
Client encodingSpecifies the PostgreSQL character set used by the client.
Include error detailsIf this option is enabled, PostgreSQL error details are included. These may contain sensitive data.
Log parametersIf this option is enabled, parameter values are logged when commands are executed.

SSL Mode

The SSL Mode property determines how the SSL connection is managed

  • Disable: SSL is disabled. If the server requires SSL, the connection will fail.
  • Allow: Prefers non-SSL connections if the server allows them, but also allows SSL connections
  • Prefer (default): Prefers SSL connections if the server allows them, but also allows connections without SSL.
  • Require: The connection fails if the server does not support SSL.
  • VerifyCA: The connection fails if the server does not support SSL. Also verifies the server certificate.
  • VerifyFull: The connection fails if the server does not support SSL. Also checks the server certificate with the host name.

Server Compatibility Mode

  • None: No special server compatibility mode is active
  • NoTypeLoading: The server does not support full loading of types from the PostgreSQL catalogs.
  • Redshift: The server is an Amazon Redshift instance.

Timestamp Mode

  • Unspecified (default): Date format without time zone
  • Timestamp with timezone: UTC date format
  • Timestamp without timezone: Date format without time zone