pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stas Kelvich <s.kelvich@postgrespro.ru>
Cc: Gavin Flower <GavinFlower@archidevsys.co.nz>
Cc: David Fetter <david@fetter.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Naming of new tsvector functions
Date: Thu, 05 May 2016 19:04:27 -0400
Message-ID: <18893.1462489467@sss.pgh.pa.us> (raw)
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>
	<D91383B7-1CCA-4FE1-8570-C6275C202CC0@postgrespro.ru>
	<4328.1462370302@sss.pgh.pa.us>
	<2AF3687B-2B6B-415C-978E-0991EFE9718B@postgrespro.ru>
	<12735.1462382108@sss.pgh.pa.us>
	<EF75DFB4-29A7-49D9-8BE0-40B4068BDB84@postgrespro.ru>
	<10331.1462477476@sss.pgh.pa.us>
	<fcb28372-1cc2-0062-d892-713434805d50@archidevsys.co.nz>
	<4AB95789-1F3F-4D67-BEF1-B43553ECAA3B@postgrespro.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Stas Kelvich <s.kelvich@postgrespro.ru> writes:
> 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.

>> 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



view thread (15+ messages)

Message-ID: <18893.1462489467@sss.pgh.pa.us>
Permalink:  ../18893.1462489467@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18893.1462489467@sss.pgh.pa.us

 · 

reply

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, GavinFlower@archidevsys.co.nz, david@fetter.org
  Subject: Re: Naming of new tsvector functions
  In-Reply-To: <18893.1462489467@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> <2AF3687B-2B6B-415C-978E-0991EFE9718B@postgrespro.ru> <12735.1462382108@sss.pgh.pa.us> <EF75DFB4-29A7-49D9-8BE0-40B4068BDB84@postgrespro.ru> <10331.1462477476@sss.pgh.pa.us> <fcb28372-1cc2-0062-d892-713434805d50@archidevsys.co.nz> <4AB95789-1F3F-4D67-BEF1-B43553ECAA3B@postgrespro.ru> <18893.1462489467@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