Aller au contenu
Skillpedia
Bases de données40k · #7404

reviewing-oracle-to-postgres-migration

Ce qu’il fait

Cet outil vous aide à repérer les problèmes lors du transfert d'une base de données d'Oracle vers PostgreSQL. Il compare votre code aux différences connues entre les deux systèmes pour éviter les mauvaises surprises.

Quand l’utiliser

  • ✓Lorsque vous préparez une migration de base de données.
  • ✓Lorsque vous relisez un travail de migration déjà réalisé.
  • ✓Lorsque vous vérifiez que les tests couvrent tous les points importants.

Lien du skill

https://github.com/github/awesome-copilot/blob/main/skills/reviewing-oracle-to-postgres-migration/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/github/awesome-copilot/blob/main/skills/reviewing-oracle-to-postgres-migration/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Vérifie les risques de migration de ce code Oracle vers PostgreSQL.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil compare votre code à une liste de différences connues entre Oracle et PostgreSQL. Il signale les endroits où des problèmes pourraient survenir et propose des solutions pour les corriger.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Oracle-to-PostgreSQL Database Migration

Surfaces migration risks and validates migration work against known Oracle/PostgreSQL behavioral differences documented in the references/ folder.

When to use

  1. Planning — Before starting migration work on a procedure, trigger, query, or refcursor client. Identify which reference insights apply so risks are addressed up front.
  2. Validating — After migration work is done, confirm every applicable insight was addressed and integration tests cover the new PostgreSQL semantics.

Workflow

Determine the task type:

Planning a migration? Follow the risk assessment workflow. Validating completed work? Follow the validation workflow.

Risk assessment workflow (planning)

Risk Assessment:
- [ ] Step 1: Identify the migration scope
- [ ] Step 2: Screen each insight for applicability
- [ ] Step 3: Document risks and recommended actions

Step 1: Identify the migration scope

List the affected database objects (procedures, triggers, queries, views) and the application code that calls them.

Step 2: Screen each insight for applicability

Review the reference index in references/REFERENCE.md. For each entry, determine whether the migration scope contains patterns affected by that insight. Read the full reference file only when the insight is potentially relevant.

Step 3: Document risks and recommended actions

For each applicable insight, note the specific risk and the recommended fix pattern from the reference file. Flag any insight that requires a design decision (e.g., whether to preserve Oracle empty-string-as-NULL semantics or adopt PostgreSQL behavior).

Validation workflow (post-migration)

Validation:
- [ ] Step 1: Map the migration artifact
- [ ] Step 2: Cross-check applicable insights
- [ ] Step 3: Verify integration test coverage
- [ ] Step 4: Gate the result

Step 1: Map the migration artifact

Identify the migrated object and summarize the change set.

Step 2: Cross-check applicable insights

For each reference in references/REFERENCE.md, confirm the behavior or test requirement is acknowledged and addressed in the migration work.

Step 3: Verify integration test coverage

Confirm tests exercise both the happy path and the failure scenarios highlighted in applicable insights (exceptions, sorting, UNION ALL behavior/performance risks, refcursor consumption, concurrent transactions, timestamps, materialized-view freshness, etc.).

Step 4: Gate the result

Return a checklist asserting each applicable insight was addressed, migration scripts run, and integration tests pass.

Questions fréquentes

Que sont les « différences de comportement » ?

Ce sont des façons différentes qu'Oracle et PostgreSQL ont de gérer certaines choses, comme les chaînes vides ou le tri des données.

Qu'est-ce qu'un « refcursor » ?

C'est une manière propre à Oracle de renvoyer les résultats d'une requête, qui peut fonctionner différemment dans PostgreSQL.

Que signifie « type coercion » ?

C'est lorsqu'une base de données tente de convertir automatiquement un type de données en un autre. Cette conversion peut se faire différemment entre Oracle et PostgreSQL.

Détails

Description originale de l’auteur

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 Ora

repo: github/awesome-copilot

Popularité

Étoiles GitHub
40k
Position au classement
#7404
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires