Oracle to PostgreSQL · database compatibility

Paritas In development

An Oracle-compatible database built on PostgreSQL, with one honest promise: we can tell you exactly where compatibility ends (for your code, with measured evidence) and close the gaps that matter to you.

Paritas is built on PostgreSQL 18 and runs in Oracle mode only. Every session reads Oracle's SQL, and real PL/SQL compiles and runs: packages, triggers, collections and exceptions. Around it we are building tools for migration, development and connecting your applications, starting with pgrecon. Every figure on this page comes from a dated run against Oracle Database 21c.

Paritas is not for sale yet, and we are aiming to release it next quarter. The test harness behind it already runs, and we are happy to show it live.

Paritas has its own site at paritas.tech, with how a move works and why Paritas, and our address for Paritas is hello@paritas.tech.

Paritas oracle-compatible · on postgresql
Base PostgreSQL 18 Reference Oracle 21c Method Measured Status In development
Watch the films

Paritas on film

Paritas: where Oracle compatibility ends, as we measured itParitas is an Oracle-compatible database built on PostgreSQL. This film shows where its compatibility ends.
The traps of moving off Oracle, and what Paritas does about eachPeople who have moved off Oracle to PostgreSQL know the traps. Paritas is an Oracle-compatible database built on PostgreSQL, and this film goes through what it does about each trap, and where it does nothing yet.
Moving an Oracle application to Paritas, step by stepHow an Oracle application moves to Paritas, an Oracle-compatible database built on PostgreSQL, with its code left as it is.
Paritas: an Oracle-compatible database built on PostgreSQL, in Oracle mode onlyParitas is an Oracle-compatible database built on PostgreSQL. A Paritas server answers in Oracle mode only.

Plays from YouTube, with English subtitles. Nothing is loaded from YouTube until you press play. More films on the Tech Style channel.

The problem nobody sells against

The dangerous half of a migration is invisible

When a company moves off Oracle, everyone focuses on converting the code, the visible half. The invisible half is that PostgreSQL is not Oracle: in places it computes a different answer to the same expression. Not an error. A different number.

The worst class of migration bug. A pricing or tax expression converts cleanly, passes code review, and deploys fine, then returns a subtly wrong number in production, found by a customer. No error at build time. No error in test. You can't find these gaps by reading documentation; you can only find them by running the same SQL against both databases and comparing every answer.
Measured, not assumed

Same code, different answers

Three real results, each measured on live engines. Every one converts cleanly, and none raises an error you would see at build time.

Oracle Database 21c is the source of truth. Measured August to October 2026.
CodeOraclePostgreSQLParitas
SELECT 3.4e38f * 10f
binary floats multiplied past the top of the type
infan error: the literal is refused, and the nearest equivalent raises value out of rangeinf ✓
SELECT 1 UNION SELECT 2 INTERSECT SELECT 2
set operators without parentheses
21, 2: INTERSECT binds tighter, so other rows come back2 ✓
FOR i IN REVERSE 1 .. 3 LOOP
a loop that walks backwards
runs 3, 2, 1runs no iteration at all: its REVERSE takes the bounds the other way roundruns 3, 2, 1 ✓

A loop that walks a collection backwards silently does nothing; a report built on a set query silently gains rows. Paritas gives Oracle's answer in each case because we measured the difference rather than guessing at it. The first fix has since been taken into the upstream open-source project.

The approach

We built the test harness before the database

The moat is not the database: anyone can fork one. It is a differential test harness: Oracle Database 21c, stock PostgreSQL and the unmodified open-source base run beside Paritas, and every answer is compared with Oracle's. A difference counts only once a live engine shows it; on 9 October 2026 two fixes written from Oracle's manual gave the wrong answer on a real Oracle 21c.

The differential corpus

829 measured cases of SQL and PL/SQL, each with the answer a real Oracle instance returned. Every engine runs every case, and every verdict is kept from run to run, so a change that fixes one answer and breaks another shows up in the next run.

The application gauntlet

591 units and 92,000 lines of real PL/SQL from nine schemas, among them the Alexandria, Logger, utPLSQL and PL/JSON libraries and Oracle's HR and OE samples, compiled unchanged. It ranks what breaks, so the most common blocker is fixed first.

Stress and sanitizer

170 stress cases on long values and an AddressSanitizer build in continuous integration, with no crash in the stress cases and a clean sanitizer run. One known crash case is open (a PL/SQL SELECT ... INTO of a ROWID such as MIN(ROWID), which crashes the unmodified base too), and its fix is planned. Two more forms, listed on 5 November 2026, stop a server process on a build with assertions, the kind the tests run on; their fixes are planned too. Last comes a 24-hour soak with flat memory, before release. A database that gives Oracle's answers and then falls over is not compatible.

Paritas test harness: one test case runs on Oracle Database 21c, Paritas, the unmodified open-source base and stock PostgreSQL 18, every answer is compared with Oracle's, and the ranked blockers set the next fix.
The harness: every answer compared with Oracle's
Where it stands

Each one a measurement, each one dated

Compatibility here is a set of numbers measured against Oracle Database 21c, not an adjective. Here is where each stood at its latest run: the answers and the error cases on 10 November 2026, the compile count on 16 October and the call-site count on 8 October.

MeasureWhere it stood
Real Oracle PL/SQL compiles unchanged137 of the gauntlet's 253 package-level units that Oracle itself compiles (54%)
Answers match Oracle690 of the 829 corpus cases Oracle answers (83%); the unmodified base gives 520 (63%)
It survivesno crash in 170 stress cases and sanitizer clean; one known crash case open and two more on assertion builds, their fixes planned; a 24-hour soak with flat memory runs last
The built-in packages applications call exist1,436 of 2,994 call sites (48%)
Errors behave like Oracle (the codes handlers catch, SQLCODE, SQLERRM, RAISE_APPLICATION_ERROR)32 of 38 cases (84%)
Limitations listed honestlythe full list written and kept current; a customer copy comes with packaging
Maintainable from the documents aloneCI and the gate run; three scripts, two runbooks and their rehearsals to go

The gauntlet holds 316 package-level units; 63 of them do not compile on Oracle 21c either, and code Oracle refuses measures nothing. Since 16 October the compile count is stricter: a unit created with a compilation error counts as not compiled, which took the figure from 145 to 137, and 120 of the 137 also passed a run-time check that their calls resolve. About 760 of the 2,994 call sites are in packages left out of the first release by decision (below), so the most that figure can reach in the first release is about 75%.

What works today

The Oracle that real code is written in

Each item below is tested against Oracle 21c's measured answers, and most arrived in the last few weeks because the gauntlet ranked them first.

Packages

  • Specification and body, with state kept per session
  • Package records, constants, cursors and initialization sections
  • Types, subtypes and exceptions declared in a package and used from other code
  • Private body items, and recursion that keeps each caller's values

The PL/SQL language

  • SUBTYPE, and 13 predefined subtypes such as POSITIVE and NATURAL
  • PLS_INTEGER, SIMPLE_INTEGER, SYS_REFCURSOR and cursor attributes
  • SELECT INTO, EXECUTE IMMEDIATE, OPEN ... FOR a query held in a string, and procedure calls without CALL
  • Record types with DEFAULT on their fields, filled by position
  • FOR ... IN REVERSE in Oracle's order

Exceptions

  • User-defined and predefined exceptions, raised and caught by name
  • PRAGMA EXCEPTION_INIT with Oracle's scope and codes
  • RAISE_APPLICATION_ERROR, and SQLCODE and SQLERRM in handlers

Collections and types

  • Nested tables, VARRAY, and INDEX BY tables keyed by PLS_INTEGER or VARCHAR2, with EXTEND
  • BULK COLLECT, TABLE() in a query, and pipelined functions
  • Schema-level object types (attributes) and collection types, with constructors

Triggers and SQL

  • Oracle's trigger syntax: the body in the statement, :new and :old, INSERTING, UPDATING, DELETING, REFERENCING
  • MINUS and Oracle's set-operator order
  • ROWNUM counted for each query block as Oracle counts it, in joins, in subqueries and in the nested pagination idiom
  • LIKE and NOT LIKE with ESCAPE as Oracle reads them, and the five REGEXP_ functions in Oracle's own pattern language
  • IEEE arithmetic for BINARY_FLOAT and BINARY_DOUBLE, and ROUND, SQRT, POWER and the rest computed in NUMBER
  • A number turned into text as Oracle writes it, by TO_CHAR, || or an assignment: TO_CHAR(0.5) is .5
  • TO_NUMBER with a format, by Oracle's rules (X and EEEE still to come)
  • NLS_DATE_FORMAT and TO_NUMBER's currency settings bound when a statement is planned, so a cursor keeps those it was opened under, as on Oracle
  • AT TIME ZONE and AT LOCAL read as Oracle reads them; the result is the zone's wall clock, since a zoned value does not keep its offset yet
  • XMLISVALID, EXTRACT, EXISTSNODE and EXTRACTVALUE answering as Oracle does for XML held as text (Oracle's binary XML storage differs in places)
  • SCALE sequences with Oracle's values, at up to 19 digits where Oracle's reach 28
  • DBMS_OUTPUT, DBMS_LOB, UTL_RAW and part of DBMS_UTILITY

Running it

  • One mode for the whole server: every session, on either of its two ports, runs in Oracle mode, set when the server is first made and never switched, as an Oracle database runs under one compatibility
  • PostgreSQL's client tools and drivers connect as they do to PostgreSQL, and PL/pgSQL, PostgreSQL's extensions and the PostgreSQL functions no Oracle function replaces still run beside your Oracle code
  • Backup and restore with Paritas's own pg_dump, a package's grants and default privileges included. It restores only an archive it made from a Paritas database and refuses any other before its first object, so nothing comes back meaning something else
  • Logical replication to another Paritas server or to a stock PostgreSQL 18 subscriber, tested with both in November 2026
  • Builds on Linux and on Windows, and the Oracle-mode tests pass on both (Windows CI, 26 October 2026)
Where compatibility ends

Knowing the limits is the product

Any architect will test a compatibility claim within an hour. Say "Oracle compatible" without limits and you lose the account the moment they find the first gap. So we write down where it ends: our list of limitations runs to more than 900 entries, each saying what happens, and most what to do instead. The headlines are below.

Left out of the first release, by decision

  • Object types with methods: type bodies, member functions, UNDER, REF
  • Autonomous transactions: refused when the code compiles, because a fake would be a trap
  • The network packages (UTL_HTTP, UTL_TCP, UTL_SMTP, UTL_MAIL)
  • The XML packages (DBMS_XMLGEN, DBMS_XMLDOM, DBMS_XMLPARSER, DBMS_XMLSCHEMA)
  • DBMS_SCHEDULER and DBMS_JOB
  • Optimizer hints, which are read as comments
  • Database links, flashback queries, and transparent data encryption, the first of these planned after the first release

Open today

  • Integer division truncates: SELECT 10/4 is 2, where Oracle gives 2.5
  • A quotient keeps 17 to 20 significant digits where Oracle keeps 38 to 40: 1.0/3 gives 20 threes, Oracle 39
  • GREATEST and LEAST skip a NULL: GREATEST(5, NULL) is 5, where Oracle gives NULL
  • A package's subprogram with the default rights runs with its caller's rights when another role calls it, where Oracle runs it as the owner
  • LISTAGG and FORALL
  • The (+) outer join, which pgrecon rewrites
  • DBMS_SQL, UTL_FILE and four more packages, planned for the first release
The claim we can actually defend. Not "we're Oracle compatible." Instead: we tell you exactly where compatibility ends, for your code, with measured evidence, and we close the gaps that matter to you. That turns compatibility from a marketing adjective into a per-customer, measured fact.
Assessment and destination, one pipeline

It plugs straight into pgrecon

pgrecon tells you what your Oracle estate contains and what a migration will cost. The Paritas harness tells you which of that estate behaves differently on the destination (measured, per expression). The two already share their plumbing: the tables the gauntlet compiles real PL/SQL against are extracted and converted by pgrecon itself. Know the scope, then know the risk, before you commit.

pgrecon is the first of the tools we are building around Paritas, and the only one out today. Development tools and connectivity drivers are coming, and none of them is available yet.

Paritas runs on PostgreSQL, and the enterprise layers we are working on power the PostgreSQL underneath. They are being built so they can power plain PostgreSQL as well, with no Paritas on top. Once Paritas is running, PostgreSQL mode is taken off and the server answers in Oracle mode only, so a PostgreSQL database stays on plain PostgreSQL. Databases from other sources come across through the migration tools, not a restored dump.

Being precise about status

What exists today

We would rather you hear the limits now than in six months.

Built and working

  • The harness: the corpus, the gauntlet and the stress suite, with a dated run behind every figure here
  • Paritas builds, installs and runs under its own name, on PostgreSQL 18, in Oracle mode only (one mode for the whole server since 18 November 2026)
  • Each change passes a gate (a build with zero warnings, the full regression suites and, since 5 November 2026, the cost of hot calls against the build before) and independent review
  • Every expected answer in its tests is Oracle 21c's, measured, never copied from a manual

Upstream, done right

Paritas builds on Apache-2.0-licensed open-source technology, with proper attribution files, and sends a defect that belongs upstream back with a reproduction the maintainers can run. The floating-point fix above was merged upstream on 3 September 2026, and two reports on Oracle’s (+) join were fixed there on 18 October; eleven more issue reports and eleven pull requests were still under review on 11 November 2026. Paritas carries its own fix for each of those pull requests meanwhile, and drops it when upstream's arrives.

Still to come before release

  • More real units compiling unchanged, and more corpus answers and error cases matching Oracle
  • DBMS_SQL, UTL_FILE, DBMS_ASSERT, DBMS_RANDOM, DBMS_APPLICATION_INFO and DBMS_CRYPTO
  • Three scripts, two runbooks and their rehearsals, and a customer copy of the limitations
  • The fixes for the known crash cases, then the 24-hour soak with flat memory, last, before release

Paritas cannot be bought today. We are aiming to release it next quarter.

Development partners

Bring us your migration, and it comes first

We are inviting organisations to become Paritas development partners. Bring a real migration, run pgrecon on it and test with us, and we will focus our work on your migration first, before the release.

Early, and honest about it

Moving off Oracle? Let's measure the risk

We can show you the harness running (it's more convincing to watch than to describe) and tell you exactly where compatibility ends for your code.