Postgres Adapter
Hostname | Port |
|---|---|
postgres.altertable.ai | 443 (TLS/SSL) |
The Postgres adapter lets you connect to Altertable through the PostgreSQL wire protocol. It works with BI tools and SQL clients that already speak Postgres.
This adapter is ideal for:
- BI tools like Hex, Looker, Tableau, Power BI, and Metabase
- SQL clients such as DBeaver and pgAdmin
Authentication
Use your Altertable username and password with TLS enabled.
SQL Dialect
While the connection uses the Postgres protocol, queries are executed using DuckDB SQL dialect. This means that Postgres-specific functions (e.g., string_agg, generate_series) may not work.
Quick Start
-- Altertable speaks the Postgres wire protocol natively.-- No SDK needed — any Postgres client works out of the box.-- psqlpsql "postgresql://your_username:[email protected]:443/my_db"
Connection examples
psql
PGSSLMODE=require psql -h postgres.altertable.ai -p 443 -U your_username your_database
Python (psycopg2)
import psycopg2conn = psycopg2.connect(host="postgres.altertable.ai",port=443,database="your_database",user="your_username",password="your_password")