Skip to content

docs: execute migration table and grant scripts with psql - #506

Open
Loyal-Young wants to merge 1 commit into
IvorySQL:v5.6from
Loyal-Young:contest/docs-v56-migration-script-import
Open

Loyal-Young wants to merge 1 commit into
IvorySQL:v5.6from
Loyal-Young:contest/docs-v56-migration-script-import

Conversation

@Loyal-Young

Copy link
Copy Markdown

The migration walkthrough imports a filename that was never introduced and its grant example invokes cat instead of executing psql.

Explain saving the edited TABLE_sh.sql as tab.sql, fix the English doubled extension, separate the grant SQL excerpt from the shell command and use psql -v ON_ERROR_STOP=1 -d ... -f ... in both languages. Ask readers to review target roles and objects before replaying the grant script.

Fixes #482.

Verification

On an isolated IvorySQL 5.6 database, executed table and grant files through psql -f with ON_ERROR_STOP. The imported row was readable after SET ROLE to the granted role. An intentional undefined-table error stopped a script before its later INSERT, and the row count stayed unchanged. This checks the script invocation and error handling; a complete Ora2Pg migration was not run.

Rendered every complete changed page independently against the v5.6 base with Asciidoctor.js 3.0.4; no diagnostics were introduced. Checked the Git diff for whitespace errors.

Release source: IvorySQL_5.6 reference.

AI assistance: Codex (GPT-6), covering the documentation changes and validation. The contributor has confirmed submission of the Individual CLA.

Fixes IvorySQL#482.

Assisted-by: Codex:GPT-6
Percentage of AI-generated code: 100%
@github-actions
github-actions Bot temporarily deployed to pull request November 23, 2026 17:08 Inactive
@github-actions

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

This branch was previously deployed

1 inactive deployment
pull request — f2c083f1 Deployed Nov 23, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correct the SQL script import commands in the v5.6 Migration guide

1 participant