You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postgresql 15 has a MERGE command that sqlc does not appear to support. In fact, it seems to fail silently with no output.
It is somewhat similar in function to an upsert, but allows more guidance to the engine on what to do if the row exists or doesn't exist.
It's a little unclear to me if MySQL and MariaDB support the command. I see third-party blogs and tutorials suggesting its use, but I'm failing to find it in the official docs.
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Activity
kyleconroy commentedon Sep 26, 2023
Another instance of #1661
Laky-64 commentedon Jul 21, 2025
Any news about it?
taua-almeida commentedon Jul 17, 2026
I opened a PR for adding support to this one.
Is this you want to support @kyleconroy ?