Skip to content

PostgreSQL

PostgreSQL connector allows querying PostgreSQL databases.

Config Schema

FieldTypeRequiredDescription
hostsstring[]yesList of database hosts
databasestringyesDatabase name
userstringyesUsername
passwordstringyesPassword
portintegeryesTCP port (default 5432)
schemastringnoinstead of “public” it could be custom
tlsFilestringnoPEM-encoded certificate for TLS
enableTLSbooleannoEnable TLS/SSL connection

Config example:

hosts:
- localhost
database: mydb
user: postgres
password: secret
port: 5432
schema: sales
tlsFile: "" # Optional PEM-encoded certificate
enableTLS: false # Enable TLS/SSL connection

Deploy PostgreSQL Sample Databases