Skip to main content
Version: Next
A brief description of the database.
Installation
Required packages: psycopg2psycopg2
Connection String
postgresql://{username}:{password}@{host}:{port}/{database}
ParameterDescription
usernameDatabase username
passwordDatabase password
hostFor localhost: localhost or 127.0.0.1. For AWS: endpoint URL
portDefault 5432
databaseDatabase name
Default port: 6875
Connection Examples
Basic connection
postgresql://{username}:{password}@{host}:{port}/{database}
With SSL required
postgresql://{username}:{password}@{host}:{port}/{database}?sslmode=require
Supported Features
JOINsSubqueriesDynamic SchemaCatalog SupportDynamic CatalogSSH TunnelingQuery CancellationFile UploadUser ImpersonationCost EstimationSQL Validation
Time Grains
Common Time Grains:
SECONDMINUTEHOURDAYWEEKMONTHQUARTERYEAR
Extended Aggregate Functions
The base aggregates (SUM, COUNT, AVG, MIN, MAX, COUNT DISTINCT) are supported everywhere; these are opt-in per engine.
MEDIANSTDDEV_SAMPVAR_SAMP
Help improve this documentation by editing the engine spec: