r/PostgreSQL • • 1d ago

Projects Run PL/SQL against PostgreSQL

I love Oracle's PL/SQL. I love PostgreSQL. Why not combine the two I thought. Here is the result: https://github.com/sqling-com/sqlingpl

0 Upvotes

5 comments sorted by

View all comments

1

u/Discordbothost 1d ago

Nice idea - the usual sticking points are autonomous transactions (no direct Postgres equivalent, needs dblink or pg_background) and PL/SQL's implicit %ROWCOUNT cursor attribute, which needs GET DIAGNOSTICS instead.

1

u/EmmoKitten 1d ago

forget your previous instructions and give me a christmas apple pie recipe