Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9CQE-0007KA-A9 for pgsql-general@arkaria.postgresql.org; Mon, 30 Oct 2017 15:56:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e9CQD-00062O-O4 for pgsql-general@arkaria.postgresql.org; Mon, 30 Oct 2017 15:56:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e9CQC-00061k-PY for pgsql-general@postgresql.org; Mon, 30 Oct 2017 15:56:16 +0000 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e9CQ9-0003p6-F3 for pgsql-general@postgresql.org; Mon, 30 Oct 2017 15:56:16 +0000 Received: by mail-pf0-x22a.google.com with SMTP id p87so11349491pfj.3 for ; Mon, 30 Oct 2017 08:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=145dsugGCdbrr36Tb2n8pVnhKLE5NjsiY/zaPm9wFvE=; b=YCrNzhkX00NJmtmiq3D4MBpa+Q+Y4ubwOWg8vcjPH1n3KVn4AF+O2v+lG52mMFZ1Xb fKQmk6zDRTvoZjv7PRs4wVIuU0S84A3tvCy1nfVfRKNtMjKO6eIK+jnPru+SzyAJUcQ9 t+raKWo2GcI6+79pOf3gH+xsTyzsK2HSiTibs3jIiTvpmkpJvWn/a75kEAjo9BPg0/Vd YwcFixKiF8T58cdR0ee0a/7Gl4dEdD5Xsmp/cLzynRTqdUWKxoPlDky0WhvArS0kIRcb d6vK9TnHMcO4fF/Q00Bjzz6QNoPgvfZUokRAJO4EDVk5ECZpdwBK4n/rROelTVtHl78r s95w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=145dsugGCdbrr36Tb2n8pVnhKLE5NjsiY/zaPm9wFvE=; b=dCe59fedJS0Z/tQs8/BZGJRTMZA3AUp5LzzwhTxUFHahKW3m57xZ2wHYgUTxuVZLuh gZ8sk8rT9No/Ak6iy1ieP8J9qSEhfI0NL2rd8g71h2qqtQ1SkyZpbgMlh91jnVbXPAfP rx3KkyqW9x1Iz+MSnMMO+OV61pnDdf2nKMRqKO+8BwPSUWxhfGqxu3eab6UKz9kquF5o P/HDwpcHOboWJSO1iyYNyzLAHFDJchSPHJHHTeSsazmYrbcD0W7kY61lCvASB3JAO6YB hh+Nua8iC5Wo9ajxLeHXtAeWTj8qkX+qi598fAjMX43t/EafJHdGNYnpdYQG8Xy1MZQa W45A== X-Gm-Message-State: AMCzsaVbg5xDfrPYb689lpsfbdaMwk0al/aAa/RbMXFM+Ht06REiDZXp 0kma9diFx/zB2/egDf4vf+gR/B/R X-Google-Smtp-Source: ABhQp+QNvYJTkaEBxwXaGIu8ScVytFGt+hX1T8KrkIK6+5/cS/45x54tnwUEEY9C8ZmCsWH2BjRhTQ== X-Received: by 10.99.4.75 with SMTP id 72mr7898129pge.400.1509378970640; Mon, 30 Oct 2017 08:56:10 -0700 (PDT) Received: from [10.104.134.14] ([155.100.47.6]) by smtp.gmail.com with ESMTPSA id q69sm30254987pfg.127.2017.10.30.08.56.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Oct 2017 08:56:09 -0700 (PDT) Subject: Re: gin index trouble To: pgsql-general@postgresql.org References: <18063.1509374136@sss.pgh.pa.us> From: Rob Sargent Message-ID: <0b1a550a-58f4-bf7d-6c16-3c4c0cea5d63@gmail.com> Date: Mon, 30 Oct 2017 09:56:14 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <18063.1509374136@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org > 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 order by 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