Re: typcategory for regconfig - Mailing list pgsql-hackers

From Tom Lane
Subject Re: typcategory for regconfig
Date
Msg-id 12255.1522937086@sss.pgh.pa.us
Whole thread Raw
In response to Re: typcategory for regconfig  (Dmitry Dolgov <9erthalion6@gmail.com>)
List pgsql-hackers
Dmitry Dolgov <9erthalion6@gmail.com> writes:
> On 5 April 2018 at 15:48, Tom Lane <tgl@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


pgsql-hackers by date:

Previous
From: Erik Rijkers
Date:
Subject: Re: WIP: Covering + unique indexes.
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: Covering + unique indexes.