pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ilan@tzirechnoy.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17294: spgist doesn't support varchar, only text type fields.
Date: Sat, 20 Nov 2021 12:10:21 -0500
Message-ID: <3175925.1637428221@sss.pgh.pa.us> (raw)
In-Reply-To: <17294-8f6c7962ce877edc@postgresql.org>
References: <17294-8f6c7962ce877edc@postgresql.org>

PG Bug reporting form <noreply@postgresql.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





view thread (2+ messages)

Message-ID: <3175925.1637428221@sss.pgh.pa.us>
Permalink:  ../3175925.1637428221@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3175925.1637428221@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ilan@tzirechnoy.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17294: spgist doesn't support varchar, only text type fields.
  In-Reply-To: <3175925.1637428221@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