Re: Searching GIN-index (FTS) and sort by timestamp-column

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Evgeniy Shishkin <itparanoia(at)gmail(dot)com>
Cc: Andreas Joseph Krogh <andreas(at)visena(dot)com>, pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Searching GIN-index (FTS) and sort by timestamp-column
Date: 2016-03-17 17:20:23
Message-ID: 2279.1458235223@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Evgeniy Shishkin <itparanoia(at)gmail(dot)com> writes:
> Uh, it works if i cast to bigint explicitly

FWIW, the reason for that is that the int8_ops operator class that
btree_gin creates doesn't contain any cross-type operators. Probably
wouldn't be that hard to fix if somebody wanted to put in the work.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andreas Joseph Krogh 2016-03-17 17:30:12 Re: Searching GIN-index (FTS) and sort by timestamp-column
Previous Message Rick Otten 2016-03-17 13:07:08 Re: using shared_buffers during seq_scan