Re: Naming of new tsvector functions

Поиск
Список
Период
Сортировка
От Stas Kelvich
Тема Re: Naming of new tsvector functions
Дата
Msg-id 4AB95789-1F3F-4D67-BEF1-B43553ECAA3B@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Naming of new tsvector functions  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Ответы Re: Naming of new tsvector functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On 06 May 2016, at 00:46, Gavin Flower <GavinFlower@archidevsys.co.nz> wrote:
>
> On 06/05/16 07:44, Tom Lane wrote:
>>
>> Yeah, I see we're already a bit inconsistent here.  The problem with using
>> a ts_ prefix, to my mind, is that it offers no option for distinguishing
>> tsvector from tsquery, should you need to do that.  Maybe this isn't a
>> problem for functions that have tsvector as input.
>>
>>             regards, tom lane
>>
>>
> use tsv_ and tsq_?
>
>
> Cheers,
> Gavin
>

That would be a good convention if we were able to easily rename old functions.
But now that will just create another pattern on top of three existing (no prefix, ts_*, tsvector_*).

Stas Kelvich
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Is pg_control file crashsafe?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Initial release notes created for 9.6