Re: BUG #17294: spgist doesn't support varchar, only text type fields.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ilan(at)tzirechnoy(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17294: spgist doesn't support varchar, only text type fields.
Date: 2021-11-20 17:10:21
Message-ID: 3175925.1637428221@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> ilank=*> create table test (a text, b varchar);
> CREATE TABLE
> ilank=*> create index on test using spgist (b);
> ERROR: compress method must be defined when leaf type is different from
> input type

Ugh. Fails for domains over text, too, which it shouldn't.
Will fix, thanks for the report!

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-11-20 20:25:47 Re: pg_restore depending on user functions
Previous Message PG Bug reporting form 2021-11-20 16:52:50 BUG #17295: Different query plan with Index Only Scan and Bitmap Index Scan.