Re: Naming of new tsvector functions

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Naming of new tsvector functions
Дата
Msg-id 20160502215907.GA1882@fetter.org
обсуждение исходный текст
Ответ на Re: Naming of new tsvector functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Naming of new tsvector functions  (Stas Kelvich <s.kelvich@postgrespro.ru>)
Список pgsql-hackers
On Mon, May 02, 2016 at 01:58:11PM -0400, Tom Lane wrote:
> I wrote:
> > I think we'd be better off to rename these to tsvector_delete()
> > and tsvector_filter() while we still can.
> 
> ... although I now notice that hstore already exposes a function
> named delete(), so that ship may have sailed already.  But I'm more
> troubled by filter() anyhow, since that keyword can appear in
> expressions --- it seems much more likely that that would pose a
> parsing conflict after future SQL extensions.

I suspect that steering that ship would be a good idea starting with
deprecation of the old name in 9.6, etc.  hs_filter(), perhaps?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



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

Предыдущее
От: Alex Ignatov
Дата:
Сообщение: Re: Is pg_control file crashsafe?
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [BUGS] Breakage with VACUUM ANALYSE + partitions