Re: typcategory for regconfig

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>
Cc: "PostgreSQL-dev(dot)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: typcategory for regconfig
Date: 2018-04-05 14:04:46
Message-ID: 12255.1522937086@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dmitry Dolgov <9erthalion6(at)gmail(dot)com> writes:
> On 5 April 2018 at 15:48, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2018-04-05 14:07:57 Re: WIP: Covering + unique indexes.
Previous Message Erik Rijkers 2018-04-05 14:02:35 Re: WIP: Covering + unique indexes.