pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomáš Vondra <tv@fuzzy.cz>
Cc: pgsql-bugs@postgresql.org
Cc: craig.macdonald@glasgow.ac.uk
Subject: Re: BUG #9038: trgm must have operand in index creation
Date: Thu, 30 Jan 2014 13:01:25 -0500
Message-ID: <3022.1391104885@sss.pgh.pa.us> (raw)
In-Reply-To: <jo41r5ylj62pn67vic0mt5yk.1391096079117@email.android.com>
References: <jo41r5ylj62pn67vic0mt5yk.1391096079117@email.android.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

=?UTF-8?Q?Tom=C3=A1=C5=A1_Vondra?= <tv@fuzzy.cz> writes:
> craig.macdonald@glasgow.ac.uknapsal/a:
>> The documentation at 
>> http://www.postgresql.org/docs/9.2/static/textsearch-indexes.html
>> is incorrect in the syntax of CREATE INDEX for GIN and GIST. According to
>> http://www.postgresql.org/docs/9.2/static/pgtrgm.html the keyword
>> gist_trgm_ops is also necessary:

> No it's not. The documentation about full-text clearly states that the column needs to be either tsvector or tsquery, but you're clearly using text.

Yeah, Tomas is right: section 12.9 is discussing the core full-text-search
datatypes, which have nothing much to do with contrib/pg_trgm's
facilities.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <3022.1391104885@sss.pgh.pa.us>
Permalink:  ../3022.1391104885@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3022.1391104885@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tv@fuzzy.cz, craig.macdonald@glasgow.ac.uk
  Subject: Re: BUG #9038: trgm must have operand in index creation
  In-Reply-To: <3022.1391104885@sss.pgh.pa.us>
  References: <jo41r5ylj62pn67vic0mt5yk.1391096079117@email.android.com> <3022.1391104885@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