You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Amazon Redshift as a supported database in TablePro.
Background
Redshift is built on PostgreSQL 8.0.2 and uses the PostgreSQL wire protocol. Since TablePro already has a PostgreSQL driver via libpq, Redshift connectivity can reuse the existing C connector (CLibPQ / LibPQConnection) with no new native libraries.
Implementation Plan
Connection Layer
Reuse existing LibPQConnection — Redshift accepts standard libpq connections
Default port: 5439
New RedshiftDriver
Conforms to DatabaseDriver protocol
Wraps/extends PostgreSQLDriver with Redshift-specific overrides:
Schema introspection: Redshift uses SVV_* / STL_* / PG_TABLE_DEF views instead of standard information_schema in some cases
SQL dialect: supports DISTKEY, SORTKEY, ENCODE; lacks RETURNING on INSERT
Unsupported features: no triggers, limited ALTER TABLE, no LISTEN/NOTIFY
Health monitor: use SELECT 1 instead of PostgreSQL-specific ping
UI
Add Redshift connection type to the connection form (host, port, database, user/password, SSL)
Redshift icon/branding in sidebar
Limitations to Document
OLAP warehouse — query latency higher than OLTP databases
No support for triggers, custom functions, or LISTEN/NOTIFY
External schemas (Spectrum tables) need special handling
Effort
Medium — transport layer is free (libpq reuse), main work is in metadata/introspection queries and dialect differences.
Activity
datlechin commentedon Mar 3, 2026
@MNhat0308 sắp có Redshift 🔥