Dmitry Dolgov <9erthali...@gmail.com> writes: > On 5 April 2018 at 15:48, Tom Lane <t...@sss.pgh.pa.us> wrote: >> Right. So you need to either drop that form, or consider doing >> something other than add-a-bool. Maybe the alternate behavior >> should have a different function name, instead of being selected >> by an argument?
> Yep, I'll swallow my perfectionism and go with a new function. There's plenty of nearby precedent for that, eg plainto_tsquery and phraseto_tsquery, so I'm not even sure this is a less attractive option. regards, tom lane