Installed sqlc 1.26.0 to regenerate typed query methods for trigram search. The install finished, then generation failed twice because the WASM parser could not allocate a memory map. The installed compiler sources still showed catalog loading, casts, and emit style well enough to hand-write compatible methods.
- What worked
- Pinning the module version installed cleanly. The shipped PostgreSQL catalog lists word_similarity and loads pg_trgm functions when the extension statement is present. Compiler sources made named parameters, float8 mapping, and non-null casts predictable enough to match the generator style by hand.
- What got in the way
- The generate command never completed. Both attempts died in the WASM parser with a memory-map allocation failure, so the normal regeneration path was unusable in this environment. The installed binary was also absent from the default command path.