kputnam / piggly

PL/pgSQL stored procedure code coverage tool
Other
69 stars 14 forks source link

Return parameters has been declared as table, default kw in declare block, encoding utf8 #27

Open kamynina opened 7 years ago

kputnam commented 7 years ago

This looks good! If you test where Unicode is and is not allowed and update the regexps accordingly, I'll merge this.

dbut023 commented 7 years ago

As it so happens I was just about to submit a PR for table return and WITH queries. This approach is much simpler; I'd handled param type 't' such that it regenerated the full RETURNS TABLE as originally written which is a bit more intrusive.