Skip to main content
Version: 5.4

PostgreSQL Plug-in

warning

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

Connection settings:

NameAny name under which this database server appears in the connection setup. Choose a name that is unique to you during the connection setup.
Host/IP/fileAddress of the PostgreSQL server.
PortSelection of the port for database connection. If necessary, the port can be changed.
Data SourceName of the database to be used.
UserUsername for logging into the PostgreSQL server.
PasswordPassword for logging into the PostgreSQL server.

Security:

SSL modeProperty determining how the SSL connection is managed. Here functionality is explained.
SSL certificateSelection of an SSL client certificate from the drop-down list, which the OPC Router sends along with.
SSL passwordPassword to access the private key of the client certificate sent during the SSL handshake to the server.
Root certificateSelection of a root certificate (CA) from the drop-down list, which the OPC Router sends along with.
Service nameKerberos service name of the PostgreSQL server.
Check Certificate RevocationEnable if the certificate revocation list should be checked during authentication. (Default is False).
Include RealmEnable if Kerberos realm should be used for authentication.
Trust Server CertificateEnable if the server certificate is to be trusted without validation.

Advanced:

Target Session AttributesDetermines the preferred PostgreSQL target server type.
KeepaliveThe interval in seconds at which consecutive keepalive packets are sent when no acknowledgment is received.
Host Recheck SecondsSpecifies how long the host's cache state is considered valid.
Server Compatibility ModeProperty describing the server compatibility mode. Here functionality is explained.
Load Balance TimeoutThe maximum overall lifespan of connections (in seconds). Connections exceeding this value are destroyed instead of being returned to the pool. Useful in cluster configurations to force load balancing between a running server and one that has just been brought online.
Timestamp ModeProperty defining how the timestamp is treated. Here functionality is explained.
TimezoneThe timezone 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 DetailsWhen this option is enabled, PostgreSQL error details are included. These may contain sensitive data.
Log ParametersWhen this option is enabled, parameter values are logged during command execution.

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 verifies the server certificate with the hostname.

Server Compatibility Mode

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

Timestamp Mode

  • Unspecified (Default): Date format without timezone
  • Timestamp with timezone: Date format UTC
  • Timestamp without timezone: Date format without timezone