Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aySK5-0008V8-A6 for pgsql-hackers@arkaria.postgresql.org; Thu, 05 May 2016 23:04:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aySK4-0001Ik-T5 for pgsql-hackers@arkaria.postgresql.org; Thu, 05 May 2016 23:04:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aySK4-0001IU-By for pgsql-hackers@postgresql.org; Thu, 05 May 2016 23:04:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aySK1-0001Ku-0X for pgsql-hackers@postgresql.org; Thu, 05 May 2016 23:04:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u45N4RSl018894; Thu, 5 May 2016 19:04:27 -0400 From: Tom Lane To: Stas Kelvich cc: Gavin Flower , David Fetter , pgsql-hackers@postgresql.org Subject: Re: Naming of new tsvector functions In-reply-to: <4AB95789-1F3F-4D67-BEF1-B43553ECAA3B@postgrespro.ru> References: <4875.1462210058@sss.pgh.pa.us> <6106.1462211891@sss.pgh.pa.us> <20160502215907.GA1882@fetter.org> <4328.1462370302@sss.pgh.pa.us> <2AF3687B-2B6B-415C-978E-0991EFE9718B@postgrespro.ru> <12735.1462382108@sss.pgh.pa.us> <10331.1462477476@sss.pgh.pa.us> <4AB95789-1F3F-4D67-BEF1-B43553ECAA3B@postgrespro.ru> Comments: In-reply-to Stas Kelvich message dated "Fri, 06 May 2016 01:25:08 +0300" Date: Thu, 05 May 2016 19:04:27 -0400 Message-ID: <18893.1462489467@sss.pgh.pa.us> X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Stas Kelvich writes: > On 06 May 2016, at 00:46, Gavin Flower 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. >> use tsv_ and tsq_? > 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_*). Yeah :-(. Well, time grows short, so let's go with ts_ for these. I'll go make it happen. 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