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
-
New
REPACKcommand 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. -
pg_plan_adviceextension for controlling query planner decisions andpg_stash_adviceextension that applies plan advice automatically based on the query. -
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.
-
Logical replication can now be enabled without a server restart when
wal_levelis set toreplica. -
Logical replication of sequence values.
-
Support for "read-your-writes" consistency on standbys via the new
WAITcommand. -
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
UseCREATE TYPE … AS OBJECT, attribute-value constructors, and member calls. Define typedREFcolumns and attributes, create references withREF(table_alias), and resolve them withDEREF. Dump and restore preserve the row identities used by these references. -
ROWNUMpseudocolumn: Feature #1000
UseROWNUMto number or limit rows in Oracle-mode queries. -
Local routines in
WITHclauses: Feature #1322
Declare functions and procedures in an Oracle-styleWITHclause for use within the statement. -
in identifiers: Feature #1008
Usein unquoted Oracle identifiers. -
CREATE INDEX … ONLINE: Feature #1343
Use Oracle’sONLINEsyntax 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
ApplyNOT NULLconstraints using Oracle-style column modifications. -
CREATE VIEW … WITH READ ONLY: Feature #1298
Create views that reject writes. -
Autonomous transactions: Feature #986
UsePRAGMA AUTONOMOUS_TRANSACTIONto 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 usingPRAGMA EXCEPTION_INIT. -
Transaction control in
AUTHID DEFINERprocedures: Feature #1519
UseCOMMITandROLLBACKin Oracle definer-rights procedures when the call context permits transaction control. -
Package record types: Feature #1723
DeclareTYPE … IS RECORDin packages and reference public record types from other packages. -
Implicit cursor-loop records: Feature #983
Use the record variable implicitly declared by a cursorFORloop. -
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, preloadivorysql_ora, setivorysql.scheduler = on, and list target databases inivorysql.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 decodeRAWvalues withBASE64_ENCODEandBASE64_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 toRAW. -
UTL_URL.ESCAPE: Feature #1728
Percent-encode characters in URL strings. -
UTL_URL.UNESCAPE: Feature #1748
Decode percent-encoded characters in URL strings. -
ASCIIoverloads: Feature #1179
CallASCIIwith Oracle-compatible character, numeric, and date and time types. -
DBTIMEZONE: Feature #1516
Read the database time zone configured inivorysql.dbtimezone. -
LENGTHC: Feature #1746
Count complete Unicode characters. -
LISTAGG: Feature #1203
Concatenate values using the order specified byWITHIN GROUP (ORDER BY …). -
LNNVL: Feature #1730
Return true when a condition is false or unknown. -
NANVL: Feature #1593
Return a specified fallback value forNaN. -
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 toBINARY_FLOAT. -
TO_BINARY_DOUBLE: Feature #1499
Convert supported inputs toBINARY_DOUBLE. -
TO_NUMBERinput 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%oto display[ORA]while the session is in Oracle mode. The marker follows session mode changes. -
Reserved
ivorysqlconfiguration prefix: Feature #1196
RejectSETandRESETfor unrecognizedivorysql.*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-backedINSERT INTO … SELECTinto 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
NUMBERtext output and display very small values in scientific notation in psql. -
Use Oracle-style text formatting for
BINARY_FLOATandBINARY_DOUBLE. -
Preserve trailing
CHARpadding inLIKEandNOT LIKE, treat backslashes literally whenESCAPEis omitted, validate explicit escape sequences, and resolveBIGINToperands correctly. -
Route
REGEXP_LIKEcalls with untyped strings to the Oracle implementation and apply default options when the flags areNULL. CorrectREGEXP_INSTRmatch and capture positions. -
Apply Oracle
REPLACErules for empty,NULL, and omitted arguments. ReturnNULLwhen replacement removes the entire string. -
Apply Oracle type coercion and
NULLpropagation rules toGREATESTandLEAST, including when the planner checks whether the result can beNULL. -
Make
SUBSTRcount negative positions from the end, treat zero as one, and returnNULLfor out-of-range positions or nonpositive lengths. Accept numeric inputs and truncate fractional position and length arguments. -
Preserve the decimal representation of
SMALLINTandBIGINTinputs toLENGTHC. -
Accept binary input in
TO_BLOB, including values returned byHEXTORAW. -
Accept
DISTINCTin OracleLISTAGGcalls. -
Reject invalid months in NLS-formatted Oracle timestamp input even when the PostgreSQL parser is active.
-
Recognize the extension’s Oracle
LENGTH(text)andREPLACE(text, text, text)functions in publication row filters and virtual generated columns regardless of their assigned OIDs. -
Make
ALL_SEQUENCESreadable 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, andUSER_SOURCE, including packages with%ROWTYPEdeclarations. Show complete%ROWTYPEroutine definitions inDBA_SOURCEand resolve the source-view collation during initialization. -
Reject
INSERT,UPDATE,DELETE, andTRUNCATEonSYS.DUAL. -
Accept
NOFORCEas an alias forNO FORCEinCREATE VIEWandCREATE OR REPLACE VIEW. -
Support parenthesized
ALTER TABLE … MODIFYlists forVISIBLEandINVISIBLEchanges and report an error when a change would hide the last visible column. -
Support
SET COLINVISIBLEin Oracle-mode psql to show invisible columns in ordinary table descriptions. -
Reject invisible columns in foreign tables, including inherited columns.
-
Preserve leading comments after
ISorASin 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, includingVALUESwith a PL/iSQL record. -
Allow
CREATE OR REPLACE PROCEDUREto add the firstOUTparameters without changing the procedure’s identity or grants. -
Prevent duplicate automatic
ROWIDindexes when restoring a dump and preserve user-created indexes. -
Dump package owners by role name. Preserve
NUMBERidentity sequences, read sequence type names from the catalog, and supportpg_dump --mode=oraclefor selecting the default Oracle connection port. -
Provide an
ivorysql_ora1.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
ROWNUMandOUTparameter callbacks, and repair Oracle regressions exposed by broader CI coverage: PR #2480 -
Avoid quadratic work in
UTL_MATCHwhen comparing identical strings: PR #2202 -
Fix Oracle-mode
UPDATEassignments that use subscripts and prevent a crash in that parsing path: PR #1693 -
Mark the
BIGINToverloads of Oracle-compatibleTO_DATEasSTABLEso the planner accounts for session settings and rejects expression indexes on those overloads: PR #1706 -
Preserve unread lines and partial output when
DBMS_OUTPUT.ENABLEis called repeatedly: PR #1562 -
Raise
NO_DATA_FOUNDwhenUTL_FILE.GET_LINEreads past the end of a file: PR #1841 -
Preserve multibyte characters in
UTL_FILE.PUTFformat 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
\sfand\ef: PR #1738 -
Pin GitHub Actions build and regression jobs to Ubuntu 24.04: PR #2988
-
Fix strict builds of the Oracle
test_ddl_deparsemodule by handlingSPLIT PARTITIONandMERGE PARTITIONS: PR #2130 -
Register the missing
protocol_versioncase in the Oraclelibpq_pipelinetest suite: PR #2124 -
Correct Oracle
test_ddl_deparsecommand labels forROWID, column visibility, andALTER VIEW … COMPILE: PR #1578
7. Source Code
IvorySQL’s development is maintained across four main repositories:
-
IvorySQL database source code: https://github.com/IvorySQL/IvorySQL
-
IvorySQL official website: https://github.com/IvorySQL/Ivory-www
-
IvorySQL documentation: https://github.com/IvorySQL/IvorySQL_docs
-
IvorySQL Docker: https://github.com/IvorySQL/docker_library
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