docs: fix inaccurate GUC name in README for 5.4 release#1384
Conversation
The README described the Oracle/PostgreSQL compatibility switch as a 'compatible_db' toggle, but the actual GUC parameter is named 'compatible_mode' (ivorysql.compatible_mode = oracle | pg). Update both the English and Chinese READMEs to use the correct parameter name. See issue IvorySQL#1358.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughBoth README files now describe ChangesREADME terminology update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates IvorySQL’s English and Chinese READMEs for the 5.4 release by correcting the documented name of the Oracle/PostgreSQL compatibility GUC so users configure the intended setting.
Changes:
- Replace the outdated
compatible_dbmention withcompatible_modeinREADME.md. - Replace the outdated
compatible_dbmention withcompatible_modeinREADME_CN.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Updates the documented compatibility switch GUC name in the English README. |
| README_CN.md | Updates the documented compatibility switch GUC name in the Chinese README to stay in sync. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| IvorySQL is developed based on [PostgreSQL](https://github.com/postgres/postgres). | ||
| IvorySQL is advanced, fully featured, open source Oracle compatible PostgreSQL with a firm commitment to always remain 100% compatible and a Drop-in replacement of the latest PostgreSQL. IvorySQL adds a “compatible_db” toggle switch to switch between Oracle and PostgreSQL compatibility modes. | ||
| IvorySQL is advanced, fully featured, open source Oracle compatible PostgreSQL with a firm commitment to always remain 100% compatible and a Drop-in replacement of the latest PostgreSQL. IvorySQL adds the `compatible_mode` GUC parameter to switch between Oracle and PostgreSQL compatibility modes. |
| [English](README.md) | 中文 | ||
|
|
||
| IvorySQL 基于开源[PostgreSQL](https://github.com/postgres/postgres)数据库。是一款先进、功能全面的开源 Oracle 兼容 PostgreSQL,始终承诺100% 兼容最新版本的 PostgreSQL,并可作为其无缝替代方案。IvorySQL 增加了一个 “compatible_db” 开关,支持在 Oracle 和 PostgreSQL 兼容模式之间自由切换。IvorySQL 的一大亮点是 PL/iSQL 过程式语言,它兼容 Oracle 的 PL/SQL 语法并支持 Oracle 风格的 Package。 | ||
| IvorySQL 基于开源[PostgreSQL](https://github.com/postgres/postgres)数据库。是一款先进、功能全面的开源 Oracle 兼容 PostgreSQL,始终承诺100% 兼容最新版本的 PostgreSQL,并可作为其无缝替代方案。IvorySQL 增加了 `compatible_mode` GUC 参数,支持在 Oracle 和 PostgreSQL 兼容模式之间自由切换。IvorySQL 的一大亮点是 PL/iSQL 过程式语言,它兼容 Oracle 的 PL/SQL 语法并支持 Oracle 风格的 Package。 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Line 14: Update the README description text to hyphenate “open-source” in the
sentence describing IvorySQL; this is a wording-only change, so adjust the
wording in the README content itself and keep the rest of the description
unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 9172f269-1da2-4ee1-905f-3bb72d1037bc
📒 Files selected for processing (2)
README.mdREADME_CN.md
|
@hs-liuxh please follow up this pr. |
Apply review suggestion on PR IvorySQL#1384: hyphenate the compound modifiers open-source and drop-in in the sentence already touched by this PR. Assisted-by: Claude Code:claude-fable-5 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Line 14: Update the IvorySQL description in the README to use
“Oracle-compatible” with a hyphen and change “replacement of the latest
PostgreSQL” to “replacement for the latest PostgreSQL,” without altering the
surrounding meaning.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
Hyphenate "Oracle-compatible" and use "replacement for" instead of "replacement of", as suggested in the follow-up review on PR IvorySQL#1384. Assisted-by: Claude Code:claude-fable-5 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Related Issue
Closes #1358
Motivation
Issue #1358 asks to update the README for the 5.4 release. The installation links were already bumped from v5.3 to v5.4 in commit
fa976fed, but the README still contained an inaccurate GUC parameter name. The README described the Oracle/PostgreSQL compatibility switch as acompatible_dbtoggle switch, while the actual configuration parameter is namedcompatible_mode(full nameivorysql.compatible_mode, accepting valuesoracle/pg).This was verified against the source tree — the GUC is referenced as
ivorysql.compatible_modethroughout the regression test suite (e.g.contrib/ivorysql_ora/sql/ora_sysview.sql,contrib/ivorysql_ora/sql/ora_like_operator.sql).Changes
compatible_dbtoggle switch →compatible_modeGUC parametercompatible_db开关 →compatible_modeGUC 参数Both the English and Chinese READMEs are updated to keep them in sync.
How Verified
ivorysql.compatible_modevia grep across the codebase (test SQL files and expected output).Summary by CodeRabbit
compatible_modeGUC parameter, replacing the previously documented toggle name.