Skip to content

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

Open

Description

@Hanabi9248

The Oracle migration walkthrough lists the Ora2Pg exports TABLE_sh.sql and GRANT_sh.sql. The English table import command uses tab.sql.sql, and neither guide explains how the example obtains tab.sql. Both grant import sections start with cat psql orcl -f GRANT_sh.sql, which invokes cat and never runs psql. Readers can reach the materialized view import before the required grants are applied. English walkthrough · Chinese walkthrough

Show readers where tab.sql comes from, and use psql -d orcl -f tab.sql in both languages. Keep the sample grant SQL separate from the shell command, then show psql -d orcl -f GRANT_sh.sql after the reader reviews the script for the roles already present on the target. The released psql records the -d database and -f script path, then opens the named file for the file action. Option parsing · File dispatch · File open

Git application, reversal, and whitespace checks pass. Both complete pages render with exactly the two intended example changes per language. Verification used release source and local rendering.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions