On Thu, Aug 17, 2017 at 6:01 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Pushed into v11.
Thanks. > I'm not really qualified to review the Python coding > style, but I did fix a typo in a comment. No pythonist here, but a large confusing "if" condition without any comments is better if split up and explained with comments if that can help in clarifying what the code is doing in any language, so thanks for keeping the code intact. > BTW, while this isn't a reason to delay this patch, I wonder whether > the regression test for unaccent is really adequate. According to > https://coverage.postgresql.org/contrib/unaccent/unaccent.c.gcov.html > it isn't doing anything to check multicharacter source strings, and > what's considerably more disturbing, it isn't exercising the PG_CATCH > code that's meant to deal with characters outside the current database's > encoding. Yeah, that could be improved a bit. -- Michael -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers