Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DataAvançado

Migrating Stored Procedures from Oracle to PostgreSQL

porgithub·github· v1.0.0 · atualizado em 2026-04-10
82
Score

Migrates Oracle PL/SQL stored procedures to PostgreSQL PL/pgSQL. Translates Oracle-specific syntax, preserves method signatures and type-anchored parameters, leverages orafce where appropriate, and applies COLLATE "C" for Oracle-compatible text sorting. Use when converting Oracle stored procedures or functions to PostgreSQL equivalents during a database migration.

database-migrationoraclepostgresqlstored-procedurespl-sqlpl-pgsqldatabase-conversion
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdmigrating-oracle-to-postgres-stored-procedures/workflow
```
Progress:
[ ] Step 1: Read the Oracle source procedure
[ ] Step 2: Translate to PostgreSQL PL/pgSQL
[ ] Step 3: Write the migrated procedure to Postgres output directory
```
**Step 1: Read the Oracle source procedure**
Read the Oracle stored procedure from `.github/oracle-to-postgres-migration/DDL/Oracle/Procedures and Functions/`. Consult the Oracle table/view definitions at `.github/oracle-to-postgres-migration/DDL/Oracle/Tables and Views/` for type resolution.
**Step 2: Translate to PostgreSQL PL/pgSQL**
Apply these translation rules:
Translate all Oracle-specific syntax to PostgreSQL equivalents.
Preserve original functionality and control flow logic.
Keep type-anchored input parameters (e.g., `PARAM_NAME IN table_name.column_name%TYPE`).
Use explicit types (`NUMERIC`, `VARCHAR`, `INTEGER`) for output parameters passed to other procedures — do not type-anchor these.
Do not alter method signatures.
Do not prefix object names with schema names unless already present in the Oracle source.
Leave exception handling and rollback logic unchanged.
Do not generate `COMMENT` or `GRANT` statements.
Use `COLLATE "C"` when ordering by text fields for Oracle-compatible sorting.
Leverage the `orafce` extension when it improves clarity or fidelity.
Consult the PostgreSQL table/view definitions at `.github/oracle-to-postgres-migration/DDL/Postgres/Tables and Views/` for target schema details.
**Step 3: Write the migrated procedure to Postgres output directory**
Place each migrated procedure in its own file under `.github/oracle-to-postgres-migration/DDL/Postgres/Procedures and Functions/{PACKAGE_NAME_IF_APPLICABLE}/`. One procedure per file.
</details>

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Compõe comPlanning Integration Testing for Oracle-to-PostgreSQL Migration
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
76
Compõe comOracle-to-PostgreSQL Database Migration
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
82
Compõe comScaffolding an Integration Test Project for Oracle-to-PostgreSQL Migration
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
78
Compõe com ←Creating an Oracle-to-PostgreSQL Master Migration Plan
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe com ←Creating Bug Reports for Oracle-to-PostgreSQL Migration
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
78
Compõe com ←Creating Integration Tests for Oracle-to-PostgreSQL Migration
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
79
Similar aSQL Query Builder
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
91
Similar aDatabase Migration
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
84
Similar aWeb Scraper
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
79
Co-executedSQL Query Builder
49%
Hebbian Synapse
Composite0.485
w = 0.3·α + 0.5·β + 0.2·γ
91
Co-executedWeb Scraper
49%
Hebbian Synapse
Composite0.494
w = 0.3·α + 0.5·β + 0.2·γ
79
Co-executedOracle-to-PostgreSQL Database Migration
48%
Hebbian Synapse
Composite0.478
w = 0.3·α + 0.5·β + 0.2·γ
82
Co-executed ←Creating an Oracle-to-PostgreSQL Master Migration Plan
47%
Hebbian Synapse
Composite0.471
w = 0.3·α + 0.5·β + 0.2·γ
83
Co-executed ←Creating Bug Reports for Oracle-to-PostgreSQL Migration
49%
Hebbian Synapse
Composite0.494
w = 0.3·α + 0.5·β + 0.2·γ
78

Árvore do Skill

Migrating Stored Procedures from Oracle to PostgreSQL
migrating-oracle-to-postgres-stored-procedures
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.ACT
5.EVALUATE
6.REFLECT
Triggers7
migrate oracle stored procedure to postgresconvert oracle pl/sql to postgres pl/pgsqltranslate oracle function to postgres functionmigrate database stored proceduresconvert oracle database to postgrestransform oracle stored proceduresport oracle plsql code to postgres

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança48%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download migrating-oracle-to-postgres-stored-procedures
$ synaptic skills detail migrating-oracle-to-postgres-stored-procedures
$ synaptic skills live migrating-oracle-to-postgres-stored-procedures

Dependências

orafce

Links

GitHub Repository