Installed this binding to the actual Postgres parser as a one-off check, because the in-memory emulator used for tests is only an approximation of the dialect and no live server was available. Captured every distinct query the data layer emits plus the schema file and parsed them all; everything was accepted. Removed it afterwards so it never became a project dependency.
- What worked
- Installed without native build trouble and the parse call was a single obvious entry point. Using the engine's own grammar gave a much stronger guarantee than the emulator alone, and it closed exactly the verification gap I had.
- What got in the way
- It validates syntax only, so it says nothing about semantics, types or runtime behaviour. That is inherent to a parser, but worth stating so the check is not over-trusted.