
Migrating Oracle To Postgres Stored Procedures
- 1.7k installs
- 37.5k repo stars
- Updated August 5, 2026
- github/awesome-copilot
migrating-oracle-to-postgres-stored-procedures is an agent skill for 'Migrates Oracle PL/SQL stored procedures to PostgreSQL PL/pgSQL. Translates Oracle-specific syntax, preserves method si
About
The migrating-oracle-to-postgres-stored-procedures skill '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.' It covers step 1: Read the Oracle source procedure. Key workflows include step 2: Translate to PostgreSQL PL/pgSQL. 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 Developers invoke migrating-oracle-to-postgres-stored-procedures when the task matches the triggers and reference files in SKILL.md for grounded, stepwise execution.
- Step 1: Read the Oracle source procedure
- Step 2: Translate to PostgreSQL PL/pgSQL
- Step 3: Write the migrated procedure to Postgres output directory
- Translate all Oracle-specific syntax to PostgreSQL equivalents.
- Preserve original functionality and control flow logic.
Migrating Oracle To Postgres Stored Procedures by the numbers
- 1,747 all-time installs (skills.sh)
- +22 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #271 of 2,245 Frontend Development skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
migrating-oracle-to-postgres-stored-procedures capabilities & compatibility
- Capabilities
- step 1: read the oracle source procedure · step 2: translate to postgresql pl/pgsql · step 3: write the migrated procedure to postgres · translate all oracle specific syntax to postgres · preserve original functionality and control flow
- Use cases
- documentation
What migrating-oracle-to-postgres-stored-procedures says it does
name: migrating-oracle-to-postgres-stored-procedures
Translate Oracle PL/SQL stored procedures and functions to PostgreSQL PL/pgSQL equivalents.
npx skills add https://github.com/github/awesome-copilot --skill migrating-oracle-to-postgres-stored-proceduresAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.7k |
|---|---|
| repo stars | ★ 37.5k |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 5, 2026 |
| Repository | github/awesome-copilot ↗ |
What problem does migrating-oracle-to-postgres-stored-procedures solve for developers using the documented workflows?
'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 a
Who is it for?
Developers working with migrating-oracle-to-postgres-stored-procedures patterns described in the skill documentation.
Skip if: Skip when docs are empty or the task is outside the skill documented scope.
When should I use this skill?
Use when 'Migrates Oracle PL/SQL stored procedures to PostgreSQL PL/pgSQL. Translates Oracle-specific syntax, preserves method signatures and type-anchored parameters, leverages orafce wher
What you get
Actionable migrating-oracle-to-postgres-stored-procedures guidance grounded in SKILL.md workflows and reference files.
- PL/pgSQL procedure equivalents
- signature-preserving function translations
- Oracle compatibility notes for sorting
Files
Migrating Stored Procedures from Oracle to PostgreSQL
Translate Oracle PL/SQL stored procedures and functions to PostgreSQL PL/pgSQL equivalents.
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 directoryStep 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
COMMENTorGRANTstatements. - Use
COLLATE "C"when ordering by text fields for Oracle-compatible sorting. - Leverage the
orafceextension 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.
Related skills
How it compares
Use this skill for procedure-level Oracle-to-PostgreSQL translation rather than generic SQL dialect cheatsheets that skip PL/SQL bodies and signature preservation.
FAQ
Who is migrating-oracle-to-postgres-stored-procedures for?
Developers and software engineers working with migrating-oracle-to-postgres-stored-procedures patterns described in the skill documentation.
When should I use migrating-oracle-to-postgres-stored-procedures?
When 'Migrates Oracle PL/SQL stored procedures to PostgreSQL PL/pgSQL. Translates Oracle-specific syntax, preserves method signatures and type-anchored parameters, leverages orafce wher.
Is migrating-oracle-to-postgres-stored-procedures safe to install?
Review the Security Audits panel on this page before installing in production.