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

1

u/AutoModerator 1d ago

AI Policy:

Linux is not one of those anti-AI projects, and if somebody has issues with that, they can do the open-source thing and fork it. Or just walk away., Linus Torvalds.

Mod decisions will be based on the quality of the content, not who or what generated it.

Sub Resources:

Youtube Channel

Free Postgres Webinars and Workshops

Discord: People, Postgres, Data

Join us, we have cookies and nice people.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/linuxhiker Guru 1d ago

There is also a 1-1 plpgsql transpiler:

https://commandprompt.github.io/plx/

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