Exactly. Also someone can only release parts of the source code of their software and still license it under a permissive license like MIT, BSD, Apache, CDDL, etc. enabling them to claim that their software is “open source”. And usually in that case the released source code just so happens to mostly be wrapper/glue code that calls out into closed source binaries which is where the actual magic happens.
I ran into the same issue a few weeks ago. In my case I didn’t need real-time updates but I still needed to bulk insert data, which Postgres is terrible at (especially when dealing with tens of millions of rows). I just ended up using MariaDB (since that was my first exposure to SQL and I don’t remember having issues with it) and turns out it can handle bulk inserts a lot better without slowing down much. I wish PostgreSQL was better.