Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRhv-0006EH-9k for pgsql-hackers@arkaria.postgresql.org; Thu, 05 May 2016 22:25:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ayRhu-0006sK-Sy for pgsql-hackers@arkaria.postgresql.org; Thu, 05 May 2016 22:25:18 +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 1ayRhu-0006s4-4y for pgsql-hackers@postgresql.org; Thu, 05 May 2016 22:25:18 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRhq-0000ZO-Eb for pgsql-hackers@postgresql.org; Thu, 05 May 2016 22:25:17 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id D80DF21C8377; Fri, 6 May 2016 01:25:12 +0300 (MSK) Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AC3ygLKNgJtd; Fri, 6 May 2016 01:25:11 +0300 (MSK) Received: from [192.168.1.176] (128-68-20-154.broadband.corbina.ru [128.68.20.154]) by mail.postgrespro.ru (Postfix) with ESMTPSA id AD4A121C8334; Fri, 6 May 2016 01:25:10 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1462487110; bh=3dHhdCibWiQ6S87N4AfwdnxM3Nf6cyG/lD11BWXYKw4=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=RYdxsmIVIbAoR3Eh/JaHuVFb21h5rZbWiLZlI9cii4dyQMAfgff1K3ACsHM2slUIJ o5JA+CBDMFio+Gh9rrL0eluzIlJGSBBJ8qKwmsvd3bHdgsLQV7tRtwJeH7TcBBdPSc TRbxG8zFLJD/+8wP6qFKKAWwPnzr3NnS/8XPdxFs= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Naming of new tsvector functions From: Stas Kelvich In-Reply-To: Date: Fri, 6 May 2016 01:25:08 +0300 Cc: Tom Lane , David Fetter , pgsql-hackers@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <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> To: Gavin Flower X-Mailer: Apple Mail (2.3096.5) X-Pg-Spam-Score: -4.1 (----) 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 > On 06 May 2016, at 00:46, Gavin Flower wr= ote: >=20 > On 06/05/16 07:44, Tom Lane wrote: >>=20 >> Yeah, I see we're already a bit inconsistent here. The problem with usi= ng >> 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. >>=20 >> regards, tom lane >>=20 >>=20 > use tsv_ and tsq_? >=20 >=20 > Cheers, > Gavin >=20 That would be a good convention if we were able to easily rename old functi= ons. 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 --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers