pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: tristan.chambers@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Explicit or implicit?
Date: Sun, 21 Nov 2021 12:50:48 -0500
Message-ID: <3468877.1637517048@sss.pgh.pa.us> (raw)
In-Reply-To: <163742474559.26193.12547875443867026853@wrigleys.postgresql.org>
References: <163742474559.26193.12547875443867026853@wrigleys.postgresql.org>

PG Doc comments form <noreply@postgresql.org> 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





view thread (3+ messages)  latest in thread

Message-ID: <3468877.1637517048@sss.pgh.pa.us>
Permalink:  ../3468877.1637517048@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3468877.1637517048@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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tristan.chambers@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Explicit or implicit?
  In-Reply-To: <3468877.1637517048@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