From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: gin index trouble
Date: Mon, 30 Oct 2017 09:56:14 -0600
Message-ID: <0b1a550a-58f4-bf7d-6c16-3c4c0cea5d63@gmail.com> (raw)
In-Reply-To: <18063.1509374136@sss.pgh.pa.us>
References: <A5C88C48-4573-453B-BF52-3B34A97D7A0A@xmission.com>
<18063.1509374136@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
> If you can make a test case that (eventually) hits that, we'd be
> interested to see it ...
>
Any hint(s) on what might trigger this sort of thing? I could duplicate
the upload, but I doubt you want the 800K records, 200M input file even
if it did regenerate the problem.
Would select * from <table> order by <gin'd column> show the message?
>> and I um, er, enabled gin on uuid by copying from a thread in this list, as follows:
>> create operator class _uuid_ops
>> default for type _uuid
>> using gin as
>> operator 1 &&(anyarray, anyarray)
>> ,operator 2 @>(anyarray, anyarray)
>> ,operator 3 <@(anyarray, anyarray)
>> ,operator 4 =(anyarray, anyarray)
>> ,function 1 uuid_cmp(uuid, uuid)
>> ,function 2 ginarrayextract(anyarray, internal, internal)
>> ,function 3 ginqueryarrayextract(anyarray, internal, smallint, internal, internal, internal, internal)
>> ,function 4 ginarrayconsistent(internal, smallint, anyarray, integer, internal, internal, internal, internal)
>> ,storage uuid;
> You should not have needed to do that, I think, as the standard
> anyarray GIN opclass should've handled it. Having said that,
> I don't immediately see anything broken about this definition,
> so it seems like it should've worked.
Good to hear.
Thanks.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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-general@postgresql.org
Cc: robjsargent@gmail.com
Subject: Re: gin index trouble
In-Reply-To: <0b1a550a-58f4-bf7d-6c16-3c4c0cea5d63@gmail.com>
References: <A5C88C48-4573-453B-BF52-3B34A97D7A0A@xmission.com> <18063.1509374136@sss.pgh.pa.us> <0b1a550a-58f4-bf7d-6c16-3c4c0cea5d63@gmail.com>
* 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