1. Version Overview

[Release Date: December 2, 2026]

IvorySQL 6.0 upgrades the PostgreSQL core to version 19.0 and introduces major upgrades in Oracle compatibility, ecosystem component integration, and cloud-native capabilities. The release delivers 48 Oracle compatibility updates, including object types and typed references, PL/iSQL autonomous transactions, and job scheduling through DBMS_SCHEDULER. It corrects Oracle numeric and string behavior, improves backup and restore for Oracle objects, and fixes concurrent FORCE VIEW invalidation.

2. Upstream Updates

  • PostgreSQL 19.0

    1. New REPACK command that reclaims disk space and reorganizes table contents, which can improve query performance. REPACK (CONCURRENTLY) allows repacking without blocking reads and writes to the table.

    2. pg_plan_advice extension for controlling query planner decisions and pg_stash_advice extension that applies plan advice automatically based on the query.

    3. Better performance in many areas, including automatic scaling of the number of I/O worker processes, quicker foreign-key checks, and further planning and execution optimizations.

    4. Logical replication can now be enabled without a server restart when wal_level is set to replica.

    5. Logical replication of sequence values.

    6. Support for "read-your-writes" consistency on standbys via the new WAIT command.

    7. Parallel autovacuum of table indexes and autovacuum prioritization through a new scoring system.

For further details, visit PostgreSQL 19.0 release notes.

3. New Features

3.1. 48 Oracle Compatibility Updates

  • Object types and typed references: Feature #1483
    Use CREATE TYPE …​ AS OBJECT, attribute-value constructors, and member calls. Define typed REF columns and attributes, create references with REF(table_alias), and resolve them with DEREF. Dump and restore preserve the row identities used by these references.

  • ROWNUM pseudocolumn: Feature #1000
    Use ROWNUM to number or limit rows in Oracle-mode queries.

  • Local routines in WITH clauses: Feature #1322
    Declare functions and procedures in an Oracle-style WITH clause for use within the statement.

  • in identifiers: Feature #1008
    Use in unquoted Oracle identifiers.

  • CREATE INDEX …​ ONLINE: Feature #1343
    Use Oracle’s ONLINE syntax for index creation.

  • ALTER INDEX …​ REBUILD: Feature #1229
    Rebuild an index using Oracle syntax.

  • ALTER INDEX …​ UNUSABLE: Feature #1456
    Mark an index unusable so queries skip it and writes stop maintaining it until it is rebuilt.

  • ALTER TABLE …​ MODIFY …​ NOT NULL: Feature #1576
    Apply NOT NULL constraints using Oracle-style column modifications.

  • CREATE VIEW …​ WITH READ ONLY: Feature #1298
    Create views that reject writes.

  • Autonomous transactions: Feature #986
    Use PRAGMA AUTONOMOUS_TRANSACTION to run a block or routine in an independent transaction.

  • User-defined exceptions: Feature #972
    Declare and raise named exceptions and associate them with error codes using PRAGMA EXCEPTION_INIT.

  • Transaction control in AUTHID DEFINER procedures: Feature #1519
    Use COMMIT and ROLLBACK in Oracle definer-rights procedures when the call context permits transaction control.

  • Package record types: Feature #1723
    Declare TYPE …​ IS RECORD in packages and reference public record types from other packages.

  • Implicit cursor-loop records: Feature #983
    Use the record variable implicitly declared by a cursor FOR loop.

  • DBMS_LOCK: Feature #1194
    Use application-level locks to coordinate work across sessions.

  • DBMS_OUTPUT: Feature #998
    Buffer PL/iSQL output and retrieve it within the session.

  • DBMS_RANDOM: Feature #1778
    Generate random numbers and strings.

  • DBMS_SCHEDULER: Feature #1485
    Manage jobs, programs, schedules, and execution history. To enable automatic runs, preload ivorysql_ora, set ivorysql.scheduler = on, and list target databases in ivorysql.scheduler_databases.

  • DBMS_SESSION.RESET_PACKAGE: Feature #1375
    Reset PL/iSQL package state for the current session so package initialization runs again on next use.

  • DBMS_TRANSACTION: Feature #1731
    Control transactions and manage savepoints from PL/iSQL.

  • DBMS_UTILITY: Feature #1001
    Inspect error stacks, call stacks, and backtraces.

  • UTL_ENCODE: Feature #1338
    Encode and decode RAW values with BASE64_ENCODE and BASE64_DECODE.

  • UTL_FILE: Feature #1168
    Read and write files from PL/iSQL using database directory objects.

  • UTL_MATCH: Feature #1833
    Compare strings using edit distance and Jaro-Winkler similarity.

  • UTL_RAW.CAST_TO_RAW: Feature #1337
    Convert character data to RAW.

  • UTL_URL.ESCAPE: Feature #1728
    Percent-encode characters in URL strings.

  • UTL_URL.UNESCAPE: Feature #1748
    Decode percent-encoded characters in URL strings.

  • ASCII overloads: Feature #1179
    Call ASCII with Oracle-compatible character, numeric, and date and time types.

  • DBTIMEZONE: Feature #1516
    Read the database time zone configured in ivorysql.dbtimezone.

  • LENGTHC: Feature #1746
    Count complete Unicode characters.

  • LISTAGG: Feature #1203
    Concatenate values using the order specified by WITHIN GROUP (ORDER BY …​).

  • LNNVL: Feature #1730
    Return true when a condition is false or unknown.

  • NANVL: Feature #1593
    Return a specified fallback value for NaN.

  • RAWTOHEX: Feature #1293
    Convert a value to hexadecimal text.

  • STRAGG: Feature #1352
    Aggregate strings into a single value.

  • TO_BINARY_FLOAT: Feature #1499
    Convert supported inputs to BINARY_FLOAT.

  • TO_BINARY_DOUBLE: Feature #1499
    Convert supported inputs to BINARY_DOUBLE.

  • TO_NUMBER input parsing: Feature #1704
    Accept scientific notation and leading or trailing spaces when no format model is supplied.

  • VSIZE: Feature #1566
    Report the number of bytes in a value’s internal representation.

  • SYS.V$SESSION: Feature #1185
    Report database session information.

  • SYS.V$PROCESS: Feature #1185
    Report database backend process information.

  • SYS.V$PARAMETER: Feature #1185
    Report database configuration parameters.

  • SYS.ALL_CONS_COLUMNS: Feature #1291
    List columns in constraints visible to the current user.

  • SYS.USER_CONS_COLUMNS: Feature #1289
    List columns in constraints owned by the current user.

  • SYS.DBA_CONS_COLUMNS: Feature #1303
    List columns in constraints across the database.

  • SYS.ALL_TAB_COLUMNS: Feature #1336
    Inspect columns of tables and views visible to the current user.

  • Oracle mode in the psql prompt: Feature #1383
    Use %o to display [ORA] while the session is in Oracle mode. The marker follows session mode changes.

  • Reserved ivorysql configuration prefix: Feature #1196
    Reject SET and RESET for unrecognized ivorysql.* parameters.

4. Enhancements

  • Upgrade to PG 19.0 kernel: Feature #3084, #3378
    PostgreSQL kernel upgraded to version 19.0.

  • PGNexus Now Supports IvorySQL 6.0
    PGNexus is now fully compatible with IvorySQL 6.0, bringing a zero-barrier, cloud-based AI-assisted experimentation experience. As a one-stop knowledge and experimentation platform for a wide range of scenarios, PGNexus lets users build environments with one click through an online sandbox, with no local installation required. It supports patch application, testing, and validation across multiple topologies, including standalone, streaming replication, logical replication, and high-availability clusters. Ready to use out of the box, PGNexus helps universities, enterprises, and developers collaborate efficiently and rapidly explore new version features.
    Learn more about PGNexus
    Try the IvorySQL 6.0 sandbox

  • IvorySQL 6.0 Online Experience: Feature #21
    An interactive, browser-based environment is now available, allowing users to explore and evaluate IvorySQL 6.0 in real time — no installation required.

  • Automated CLA Signing and Verification: cla.ivorysql.org
    Pull requests are automatically checked against the Contributor License Agreement. Contributors can sign directly from the pull request: log in with their GitHub account, fill in a short form, and the check is updated automatically. A PDF copy of the signed agreement is delivered by email.

  • Packaging for All Platforms
    Provides multi-platform media packages for X86, ARM, MIPS, and LoongArch architectures.

  • Containerized Deployment Support
    Supports quick deployment of standalone or highly available IvorySQL 6.0 clusters via Docker Compose, Podman, Swarm, Helm, and the IvorySQL 6.0 Operator.

  • IvorySQL Cloud 6.0 released (Visual Database Lifecycle Management Platform)
    Offers a fully managed, graphical control plane that handles IvorySQL 6.0 database subscriptions, orchestrates end-to-end lifecycle operations, and integrates surrounding ecosystem services.

  • Ivy_duckdb support for IvorySQL 6.0
    Updates ivy_duckdb to upstream pg_duckdb v1.2.2 and DuckDB 2.0.1, adding PostgreSQL 19 support. The update expands file and data type support, enables DuckDB-backed INSERT INTO …​ SELECT into PostgreSQL tables, and improves transaction and parallel scan reliability.

  • Ivy_mooncake support for IvorySQL 6.0
    Updates ivy_mooncake to upstream pg_mooncake v0.3 and adds PostgreSQL 19 support. The update allows mirror tables to be dropped while Ivy_moonlink is unavailable and lets existing sessions reconnect after a worker restart. It also updates ivy_moonlink to upstream Moonlink v0.3 for logical replication and Iceberg-based recovery.

5. Components

Support for 31 Extensions and Tools: AGE, ddlx, pgagent, pgaudit, pgBackRest, pg_bigm, pgBouncer, pg_cron, pg_curl, PgDog, pg_hint_plan, pg_jieba, pg_partman, pg_profile, pg_readonly, pg_repack, PGroonga, pgRouting, pg_show_plans, pgsql-http, pg_stat_monitor, pg_textsearch, pg_track_settings, pgtt, plpgsql_check, PostGIS, redis_fdw, set_user, system_stats, wal2json, zhparser.

6. Fixed Issues

6.1. Oracle compatibility fixes (PR #3515)

  • Omit insignificant fractional zeros from default NUMBER text output and display very small values in scientific notation in psql.

  • Use Oracle-style text formatting for BINARY_FLOAT and BINARY_DOUBLE.

  • Preserve trailing CHAR padding in LIKE and NOT LIKE, treat backslashes literally when ESCAPE is omitted, validate explicit escape sequences, and resolve BIGINT operands correctly.

  • Route REGEXP_LIKE calls with untyped strings to the Oracle implementation and apply default options when the flags are NULL. Correct REGEXP_INSTR match and capture positions.

  • Apply Oracle REPLACE rules for empty, NULL, and omitted arguments. Return NULL when replacement removes the entire string.

  • Apply Oracle type coercion and NULL propagation rules to GREATEST and LEAST, including when the planner checks whether the result can be NULL.

  • Make SUBSTR count negative positions from the end, treat zero as one, and return NULL for out-of-range positions or nonpositive lengths. Accept numeric inputs and truncate fractional position and length arguments.

  • Preserve the decimal representation of SMALLINT and BIGINT inputs to LENGTHC.

  • Accept binary input in TO_BLOB, including values returned by HEXTORAW.

  • Accept DISTINCT in Oracle LISTAGG calls.

  • Reject invalid months in NLS-formatted Oracle timestamp input even when the PostgreSQL parser is active.

  • Recognize the extension’s Oracle LENGTH(text) and REPLACE(text, text, text) functions in publication row filters and virtual generated columns regardless of their assigned OIDs.

  • Make ALL_SEQUENCES readable by all users and filter its rows by schema access, sequence ownership, and sequence privileges.

  • Show package specifications and permitted package bodies in ALL_SOURCE, DBA_SOURCE, and USER_SOURCE, including packages with %ROWTYPE declarations. Show complete %ROWTYPE routine definitions in DBA_SOURCE and resolve the source-view collation during initialization.

  • Reject INSERT, UPDATE, DELETE, and TRUNCATE on SYS.DUAL.

  • Accept NOFORCE as an alias for NO FORCE in CREATE VIEW and CREATE OR REPLACE VIEW.

  • Support parenthesized ALTER TABLE …​ MODIFY lists for VISIBLE and INVISIBLE changes and report an error when a change would hide the last visible column.

  • Support SET COLINVISIBLE in Oracle-mode psql to show invisible columns in ordinary table descriptions.

  • Reject invisible columns in foreign tables, including inherited columns.

  • Preserve leading comments after IS or AS in stored Oracle routine bodies.

  • Support Oracle-style explicit cursors in package specifications and bodies, and resolve package cursor arguments when the cursor opens.

  • Inherit the package specification’s edition property when a package body omits it and reject an explicit mismatch.

  • Allow a bare target-table alias in Oracle INSERT, including VALUES with a PL/iSQL record.

  • Allow CREATE OR REPLACE PROCEDURE to add the first OUT parameters without changing the procedure’s identity or grants.

  • Prevent duplicate automatic ROWID indexes when restoring a dump and preserve user-created indexes.

  • Dump package owners by role name. Preserve NUMBER identity sequences, read sequence type names from the catalog, and support pg_dump --mode=oracle for selecting the default Oracle connection port.

  • Provide an ivorysql_ora 1.0-to-1.1 upgrade that installs the updated functions, operators, and dictionary views.

6.2. Additional fixes

  • Fix Oracle FORCE VIEW invalidation during concurrent DDL so a newly created view’s definition is visible and stale column dependencies are removed. Refresh the cached row type of package record variables when the underlying composite type changes: PR #3378

  • Fix LLVM JIT execution of Oracle ROWNUM and OUT parameter callbacks, and repair Oracle regressions exposed by broader CI coverage: PR #2480

  • Avoid quadratic work in UTL_MATCH when comparing identical strings: PR #2202

  • Fix Oracle-mode UPDATE assignments that use subscripts and prevent a crash in that parsing path: PR #1693

  • Mark the BIGINT overloads of Oracle-compatible TO_DATE as STABLE so the planner accounts for session settings and rejects expression indexes on those overloads: PR #1706

  • Preserve unread lines and partial output when DBMS_OUTPUT.ENABLE is called repeatedly: PR #1562

  • Raise NO_DATA_FOUND when UTL_FILE.GET_LINE reads past the end of a file: PR #1841

  • Preserve multibyte characters in UTL_FILE.PUTF format strings: PR #2094

  • Keep private PL/iSQL package members hidden after package body compilation: PR #1732

  • Strip trailing semicolons from whole-line arguments to Oracle-mode psql commands such as \sf and \ef: PR #1738

  • Pin GitHub Actions build and regression jobs to Ubuntu 24.04: PR #2988

  • Fix strict builds of the Oracle test_ddl_deparse module by handling SPLIT PARTITION and MERGE PARTITIONS: PR #2130

  • Register the missing protocol_version case in the Oracle libpq_pipeline test suite: PR #2124

  • Correct Oracle test_ddl_deparse command labels for ROWID, column visibility, and ALTER VIEW …​ COMPILE: PR #1578

7. Source Code

IvorySQL’s development is maintained across four main repositories:

8. Contributors

The following individuals (in alphabetical order) have contributed to this release as patch authors, committers, reviewers, testers, or reporters of issues.

  • 0xlally

  • 123123213weqw

  • 3296442201

  • 89799969

  • 920032148

  • ai-yang

  • Aias00

  • Amberwww-DBnotes

  • Aohan Zhai

  • aoright

  • Aoxuan Ren

  • ASUKAAAAA1204

  • balckwell

  • bigplaice

  • Botao Li

  • btlqql

  • c2main

  • Cédric Villemain

  • chennaji9

  • coder999o

  • codezzzsleep

  • coo-moon

  • Cornation

  • darshan-s-44

  • db-nikhil

  • dfx-123

  • digoal

  • DoubleCore

  • doufupiya

  • dxz0069

  • Dyu-young

  • elephone-184

  • elodiefb

  • enkilee

  • evanchaoli

  • Fawei Zhao

  • feitiansiyan

  • Felix-Gong

  • flyingbeecd

  • Ge Sui

  • goeason-world

  • Grant Zhou

  • haarse

  • Haipei Mou

  • Hanabi9248

  • hanjianqiao

  • Haotian Guo

  • Hayne01

  • Hejun Lin

  • henryzsx163

  • highgo-sunrk

  • himmel001

  • houzhongyu

  • huang-zirun

  • huier5635-cmd

  • Huyvux12

  • iambilotta

  • iloveeyjafjalla

  • im-mu-table

  • jayjay9191

  • jerome-peng

  • JerseyYee

  • Jiabin Wang

  • jiangdaoli11

  • JiangJiaqi90

  • JINITAIMEI121

  • joejoy-oss

  • jokerzsd

  • kaix-rbq

  • killerwzb

  • leangjia

  • liketoochao

  • Linfeng Ge

  • Lingyun Xu

  • Linner1987

  • lispking

  • liujinyang-highgo

  • lsb666666

  • maoruiqi-hub

  • Mengyan Qiao

  • messere1

  • Metastarx

  • movead123

  • msdnchina

  • Muchang Li

  • Muzzammil242

  • myzhen

  • nawei123

  • Nerdlet369

  • neu-hsc

  • NotHimmel

  • NUAAwqy

  • OreoYang

  • Oxalc Eguabil (xinger-dev)

  • peach-Li-y

  • Peixiang Ma

  • pierreforstmann

  • pilichoumao

  • PointerL

  • project-nju-learner

  • Qiming Hou

  • qqtq-dev

  • quentinliu

  • QuincyXiang

  • R0CKing666

  • Raja Sai Pranav

  • rophy

  • Ruohan Xia

  • scmysxb-git

  • shawn0915

  • Shiyan Wang

  • Shuntian Jiao

  • sixhui

  • Sixian Gao

  • sleep282

  • sportswang

  • sriray

  • Steven Niu

  • suige

  • suns32886-hash

  • Tao Lin

  • tju-yxq

  • TNHTH

  • unbridled-41

  • unlawfulairf

  • v999dka

  • Vonng

  • Wang1rrr

  • X-LightYear

  • Xiangyu Liang

  • Xiangyu Lu

  • Xiaohui Liu

  • Xinchen Li

  • Xinjie LYU

  • Xinman Du

  • xu090

  • Xuexin Li

  • Xueyu Gao

  • xuhuicai

  • Yanghanrui666

  • Yasir Hussain Shah

  • yes7rose

  • Yongqi Chen

  • youngkermit8-coder

  • yuanyl630

  • Yue Zheng

  • Yuky-499

  • yuluo-yx

  • yydawx

  • yyqdbngt

  • z20081120087

  • Z95-cmyk

  • Zehao Wang

  • Zeyang Cao

  • zhang-632xin

  • zhang1939

  • zhaohai666

  • Zhe Zhang

  • Zheng Tao

  • Zhenhao Pan

  • zhouxj52

  • Zhuoyan Shi

  • zjncs

  • zourenli

  • ZQ051031

10. License

IvorySQL is licensed under the Apache-2.0 license.