Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moqzN-0005zW-5g for pgsql-docs@arkaria.postgresql.org; Sun, 21 Nov 2021 17:50:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1moqzM-0004ew-3X for pgsql-docs@arkaria.postgresql.org; Sun, 21 Nov 2021 17:50:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moqzL-0004em-SR for pgsql-docs@lists.postgresql.org; Sun, 21 Nov 2021 17:50:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moqzJ-000868-Tu for pgsql-docs@lists.postgresql.org; Sun, 21 Nov 2021 17:50:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1ALHomZM3468878; Sun, 21 Nov 2021 12:50:48 -0500 From: Tom Lane To: tristan.chambers@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: Explicit or implicit? In-reply-to: <163742474559.26193.12547875443867026853@wrigleys.postgresql.org> References: <163742474559.26193.12547875443867026853@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Sat, 20 Nov 2021 16:12:25 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3468876.1637517048.1@sss.pgh.pa.us> Date: Sun, 21 Nov 2021 12:50:48 -0500 Message-ID: <3468877.1637517048@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > "The @@ operator also supports text input, allowing explicit conversion of a > text string to tsvector or tsquery to be skipped in simple cases."I believe > that the text is saying implicit, but uses the word "explicit" instead. Is > this a typo? Thanks. I think it's intended. The point is that instead of, say, tsvector_column @@ 'query here'::tsquery you could just write tsvector_column @@ 'query here' regards, tom lane