Huh, thought for a second that was a WASM support for stored procedures or something and was excited for a second
https://github.com/wasmerio/wasmer-postgres
It only works for PG10, but I can't imagine it will take much effort to bring it up to the latest version