LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

reviewing-oracle-to-postgres-migration

Identifies Oracle-to-PostgreSQL migration risks by cross-referencing code against known behavioral differences (empty strings, refcursors, type coercion, sorting/collations, UNION ALL planner risks, materialized-view refresh requirements, timestamps, concurrent transactions, etc.). Use when planning a database migration, reviewing migration artifacts, or validating that integration tests cover Oracle/PostgreSQL differences.

37,110stars4,656forksUpdated 7/28/2026
Code ReviewDatabase Management#sql#postgresql#oracle#code-review#database-migration

Security Assessment

Safe(96/100)
Security Score96/100

About reviewing-oracle-to-postgres-migration

Reviewing Oracle-to-PostgreSQL Migration is a review and risk-assessment skill that surfaces migration hazards by cross-referencing code against a curated library of documented Oracle/PostgreSQL behavioral differences. It solves a costly, error-prone problem: subtle semantic gaps between the two databases (empty-string-as-NULL, refcursor handling, type coercion, default collations and sorting, UNION ALL planner risks, materialized-view refresh requirements, timestamp/timezone behavior, no-data-found exceptions, and concurrent-transaction differences) that pass code review but break in production.

The skill offers two workflows. The planning/risk-assessment workflow identifies migration scope (procedures, triggers, queries, views, and the app code that calls them), screens each documented insight in references/REFERENCE.md for applicability, and documents risks with recommended fix patterns, flagging insights that require a design decision. The validation workflow maps a completed migration artifact, cross-checks each applicable insight, verifies integration-test coverage for both happy-path and failure scenarios, and gates the result with a checklist asserting every applicable insight was addressed, scripts run, and tests pass. Each concern has a dedicated reference file with problem descriptions, root causes, recommended SQL/collation patterns (for example CAST(... AS TEXT) instead of TO_CHAR on numerics, or wrapping DISTINCT queries before ordering with an explicit collation), migration checklists, and error messages to watch for.

It targets database engineers, backend developers, and reviewers planning or validating Oracle-to-PostgreSQL migrations, especially those wanting to ensure integration tests actually cover the semantic differences. It is read-only advisory guidance; it does not execute migrations.

FAQ

What is this skill for?

Identifying and validating Oracle-to-PostgreSQL migration risks by cross-referencing code against documented behavioral differences, either when planning a migration or when reviewing completed migration artifacts.

Which differences does it cover?

Empty-string handling, refcursors, type coercion, sorting/collations, UNION ALL planner risks, materialized-view refresh, timestamps/timezones, no-data-found exceptions, TO_CHAR numeric conversions, and concurrent transactions, each in its own reference file.

How do the two workflows differ?

The planning workflow screens each insight for applicability and documents risks up front. The validation workflow cross-checks a finished migration, verifies integration-test coverage of failure scenarios, and returns a gating checklist.

Does it change or run my database?

No. It is advisory review guidance built around reference documentation; it recommends SQL patterns and tests but does not execute migrations or modify data.

Does it give concrete fix patterns?

Yes. For example, replacing TO_CHAR(numeric) with CAST(... AS TEXT), applying COLLATE "C" only where Oracle-style binary ordering is needed, and wrapping SELECT DISTINCT before an outer ORDER BY.

All Files

13 files
references/oracle-to-postgres-sorting.md2.7 KB
View
references/oracle-to-postgres-to-char-numeric.md4.2 KB
View
references/empty-strings-handling.md2.0 KB
View
references/oracle-to-postgres-timestamp-timezone.md8.4 KB
View
references/postgres-union-all-planner.md1.6 KB
View
references/oracle-parentheses-from-clause.md4.8 KB
View
references/oracle-to-postgres-type-coercion.md4.9 KB
View
references/postgres-concurrent-transactions.md9.4 KB
View
references/postgres-refcursor-handling.md5.6 KB
View
references/no-data-found-exceptions.md2.6 KB
View
references/postgres-materialized-view-refresh.md1.4 KB
View
SKILL.md3.1 KB
View
references/REFERENCE.md2.2 KB
View

Install reviewing-oracle-to-postgres-migration

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

github/awesome-copilot

Related Skills

parallel-web

45,195

create-blazor-project

5,423

od-contribute

96,513

redesign-existing-projects

96,513