Orafce, Babelfish, oracle_fdw, and other Postgres extensions for Oracle and SQL Server compatibility and migration. Ranked by GitHub stars.
Functions and operators that emulate a subset of functions and packages from the Oracle RDBMS
Functions and operators that emulate a subset of functions and packages from the Oracle RDBMS
Extension to add Global Temporary Tables feature to PostgreSQL
Extension to add Global Temporary Tables feature to PostgreSQL
Redis-like In-Memory DB Embedded in Postgres
Extension to add Oracle DBMS_METADATA compatibility to PostgreSQL
Extension to add Oracle DBMS_METADATA compatibility to PostgreSQL
Registration and manipulation of session variables and constants
Registration and manipulation of session variables and constants
Extension to add Oracle DBMS_LOCK full compatibility to PostgreSQL
Extension to add Oracle DBMS_LOCK full compatibility to PostgreSQL
SQL Server Transact SQL Datatype Support
SQL Server Transact SQL compatibility
API surface for DocumentDB for PostgreSQL
Extension to add Oracle DBMS_JOB full compatibility to PostgreSQL
Extension to add Oracle DBMS_JOB full compatibility to PostgreSQL
Server side rollback at statement level for PostgreSQL like Oracle or DB2
Server side rollback at statement level for PostgreSQL like Oracle or DB2
Compatibility extensions add functions, syntax, or even wire-protocol support that mimics another database — letting code, queries, and tools originally written for that database run against Postgres with minimal changes. Orafce ports common Oracle functions (NVL, NVL2, TO_CHAR with Oracle's quirks, DBMS_OUTPUT, dbms_pipe, dbms_alert). Babelfish is AWS's TDS/T-SQL implementation that lets SQL Server clients talk to Aurora Postgres unmodified. Smaller extensions cover narrower compatibility surfaces: pgtt for Oracle global temporary tables, pg_oraviews for Oracle-compatible system views.
Use these during database migrations — Orafce significantly reduces the effort to move Oracle PL/SQL code to Postgres by providing drop-in implementations of Oracle's most-used built-in functions. Babelfish enables drop-in SQL Server replacement on AWS Aurora — your existing .NET or Java apps connect with no code changes. Once a migration is complete, decide whether to keep the compatibility layer (lower porting cost for ongoing code, but extra dependency) or rewrite to native Postgres idioms (cleaner long-term, native performance). For greenfield projects, skip these and write idiomatic Postgres from the start.
1bench is a modern GUI client for PostgreSQL — install extensions, write queries, and inspect schemas without leaving the IDE.
Try 1bench for PostgreSQL