gincostestimate and hypothetical indexes

From: Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: gincostestimate and hypothetical indexes
Date: 2015-11-30 21:41:16
Message-ID: 565CC27C.6050503@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I figured out that it's not possible to use a hypothetical gin index, as
the gincostestimate function try to retrieve some statistical data from
the index meta page.

Attached patch fixes this. I believe this should be back-patched as was
a2095f7fb5a57ea1794f25d029756d9a140fd429.

Regards.
--
Julien Rouhaud
http://dalibo.com - http://dalibo.org

Attachment Content-Type Size
fix_hypo_gincostestimate-v1.patch text/x-patch 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2015-11-30 21:55:20 Re: Remaining 9.5 open items
Previous Message Jeff Janes 2015-11-30 21:34:36 Re: Freeze avoidance of very large table.