From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stas Kelvich <s.kelvich@postgrespro.ru>
Cc: David Fetter <david@fetter.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Naming of new tsvector functions
Date: Wed, 04 May 2016 09:58:22 -0400
Message-ID: <4328.1462370302@sss.pgh.pa.us> (raw)
In-Reply-To: <D91383B7-1CCA-4FE1-8570-C6275C202CC0@postgrespro.ru>
References: <4875.1462210058@sss.pgh.pa.us>
<6106.1462211891@sss.pgh.pa.us>
<20160502215907.GA1882@fetter.org>
<D91383B7-1CCA-4FE1-8570-C6275C202CC0@postgrespro.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Stas Kelvich <s.kelvich@postgrespro.ru> writes:
>> On 03 May 2016, at 00:59, David Fetter <david@fetter.org> wrote:
>> 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?
> In 9.5 there already were tsvector functions length(), numnode(), strip()
> Recent commit added setweight(), delete(), unnest(), tsvector_to_array(), array_to_tsvector(), filter().
> Last bunch can be painlessly renamed, for example to ts_setweight, ts_delete, ts_unnest, ts_filter.
> The question is what to do with old ones? Leave them as is? Rename to ts_* and create aliases with deprecation warning?
The other ones are not so problematic because they do not conflict with
SQL keywords. It's only delete() and filter() that scare me.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, s.kelvich@postgrespro.ru, david@fetter.org
Subject: Re: Naming of new tsvector functions
In-Reply-To: <4328.1462370302@sss.pgh.pa.us>
References: <4875.1462210058@sss.pgh.pa.us> <6106.1462211891@sss.pgh.pa.us> <20160502215907.GA1882@fetter.org> <D91383B7-1CCA-4FE1-8570-C6275C202CC0@postgrespro.ru> <4328.1462370302@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox