1. Version Overview

[Release Date: December 4, 2026]

IvorySQL 6.0 updates the PostgreSQL core to version 19.0, delivers 48 new Oracle compatibility features, introduces a real-time query analytics engine, expands ecosystem support to 34 components, and improves the contributor experience with a streamlined CLA signing process. For a comprehensive list of updates, please visit our documentation site.

On Oracle compatibility, the release delivers 48 updates, including object types and typed references, PL/iSQL autonomous transactions, and job scheduling through DBMS_SCHEDULER. It also improves Oracle numeric and string behavior, backup and restore for Oracle objects, and concurrent FORCE VIEW invalidation, along with numerous other compatibility fixes.

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. Oracle Compatibility

  • 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 now supports the latest IvorySQL 6.0. No local installation is required. You can build an environment with one click through the online sandbox. It supports patch application, testing, and validation across standalone, streaming replication, logical replication, and high-availability cluster topologies. 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 without requiring any installation.

  • 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 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 IvorySQL 6.0 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 IvorySQL 6.0 support. Mirror tables can now be dropped while ivy_moonlink is unavailable, and existing database sessions can reconnect to the worker after it restarts.

  • ivy_moonlink support for IvorySQL 6.0
    Updates ivy_moonlink to upstream Moonlink v0.3 and adds IvorySQL 6.0 support. It uses logical replication to keep Iceberg mirrors in sync with committed changes to source tables. After a worker restart, it restores mirror state from persisted Iceberg snapshots and resumes replaying changes from the source WAL.

5. Components

Support for 34 Extensions and Tools: AGE, ddlx, ivy_duckdb, ivy_mooncake, ivy_moonlink, 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)

Fix numerous Oracle compatibility issues involving data type formatting for NUMBER, BINARY_FLOAT, and BINARY_DOUBLE, as well as string handling, regular expressions, type conversions, and aggregate functions. Improve compatibility across PL/iSQL packages, cursors, exception handling, transaction control, and data dictionary views. Further fixes cover column visibility, DDL operations, backup and restore, and Oracle-mode tool support.

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

  • 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.

  • 920032148

  • ai-yang

  • Aias00

  • Amberwww-DBnotes

  • Aohan Zhai

  • aoright

  • Aoxuan Ren

  • ASUKAAAAA1204

  • balckwell

  • Bei Fu

  • Botao Li

  • Cédric Villemain

  • chennaji9

  • Chuancheng Li

  • Ci Nie

  • coder999o

  • coo-moon

  • cyberslack_lee

  • DARSHAN S

  • Dengyu Yang

  • dfx-123

  • Digoal zhou

  • DoubleCore

  • doufupiya

  • dxz0069

  • elephone-184

  • Evan Li

  • Fawei Zhao

  • Felix Gong

  • flyingbeecd

  • Francesco Bilotta

  • Ge Sui

  • goeason-world

  • Gong Wang

  • Grant Zhou

  • Hai Zhao

  • Haipei Mou

  • Håkan Arpfors

  • halaxy

  • Hanabi

  • Hangrui Zhang

  • Haoran Li

  • Haotian Guo

  • Hejun Lin

  • henryzsx163

  • Hongyuan Zhang

  • houzhongyu

  • huier5635-cmd

  • Huyvux12

  • im-mu-table

  • jayjay9191

  • Jerome Peng

  • JerseyYee

  • Jiabin Wang

  • jiangdaoli11

  • JiangJiaqi90

  • Jianing Zhao

  • Jianqiao Han

  • JINITAIMEI121

  • Jinyang Liu

  • joejoy-oss

  • jokerzsd

  • Kaixiang Hu

  • leangjia

  • liketoochao

  • Linfeng Ge

  • Lingyun Xu

  • Linner1987

  • lispking

  • lsb666666

  • Mengxuan Bai

  • Mengyan Qiao

  • messere1

  • Muchang Li

  • Muzzammil Sarwar

  • myzhen

  • nawei123

  • Nerdlet369

  • Nikhil

  • NUAAwqy

  • Oxalc Eguabil

  • peach-Li-y

  • Peixiang Ma

  • Pierre Forstmann

  • pilichoumao

  • project-nju-learner

  • Qiming Hou

  • qqtq-dev

  • quentinliu

  • QuincyXiang

  • R0CKing666

  • Raja Sai Pranav

  • Renli Zou

  • rophy

  • Rubén Cabrera

  • Ruike Sun

  • Ruiqi Mao

  • Ruohan Xia

  • Ruohang Feng

  • scmysxb-git

  • shawn0915

  • Shihua Yang

  • Shiji Niu

  • Shiyan Wang

  • Shuhao Liu

  • Shuntian Jiao

  • Sicheng Han

  • Sixian Gao

  • sleep282

  • sportswang

  • sriray

  • suns32886-hash

  • Tao Lin

  • TNHTH

  • unbridled-41

  • unlawfulairf

  • Wang1rrr

  • Xiangyu Liang

  • Xiangyu Lu

  • Xiaohui Liu

  • Xiaoyu Yang

  • Xinchen Li

  • Xinjie LYU

  • Xinman Du

  • Xinqiang Yu

  • xu090

  • Xuexin Li

  • Xueyu Gao

  • xuhuicai

  • Yanghanrui666

  • Yanliang Lei

  • Yasir Hussain Shah

  • yes7rose

  • Yexi Xiang

  • Yifan Zhang

  • Yongqi Chen

  • youngkermit8-coder

  • Yuan Li

  • YuChang Huang

  • Yue Wang

  • Yue Zheng

  • Yuky-499

  • yuluo-yx

  • yydawx

  • z20081120087

  • Z95-cmyk

  • Zehao Wang

  • Zeyang Cao

  • zhang-632xin

  • zhang1939

  • Zhe zhang

  • Zheng Tao

  • Zhenglin Wang

  • Zhenhao Pan

  • Zhibin Wang

  • zhouxj52

  • Zhuoyan Shi

  • ZQ051031

10. License

IvorySQL is licensed under the Apache-2.0 license.