PostgreSQL

PostgreSQL is a fully supported database engine in hibase, with the broadest feature set among all adapters.

Connection Settings

Field Required Description
Host ✅ Server hostname or IP address
Port — Connection port (defaults to 5432)
Database ✅ Database name
Encoding ✅ utf8 or unicode

Credentials

Each access level requires:

Field Required
Username ✅
Password ✅

You can configure separate credentials for Reader, Writer, and Admin access levels, or use the credentials auto-fill to derive lower access levels from higher ones (e.g. set Admin credentials and let them auto-fill Reader and Writer).

Adapter Features

Feature Supported
Schemas ✅
Upsert (INSERT ... ON CONFLICT) ✅
Truncate ✅
Drop Columns ✅
Flex Schema ✅ (empty columns allowed)
Foreign Keys ✅ (add, remove, ON DELETE, ON UPDATE)
Primary Keys ✅ (add, remove)
JSON / JSONB types ✅
Column rename ✅
Column type change ✅
Table rename ✅

Upsert Behavior

PostgreSQL upsert uses INSERT ... ON CONFLICT DO UPDATE. It requires a unique constraint on the conflict target columns — hibase will not create one automatically. Make sure your target table has the appropriate unique index before using the upsert write strategy.

Data Types

Standard types: string, text, datetime, date, time, float, boolean, integer, json, jsonb

  • string supports a configurable limit (e.g. varchar(255))
  • datetime and time support precision
  • integer supports configurable limit (byte size)