Re: crash with sql language partition support function - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: crash with sql language partition support function
Date
Msg-id 20180412125515.z6r277kjrp4pbgce@alvherre.pgsql
Whole thread Raw
In response to Re: crash with sql language partition support function  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: crash with sql language partition support function
List pgsql-hackers
Amit Langote wrote:

> Anyway, after reading your replies, I thought of taking a stab at unifying
> the partitioning information that's cached by relcache.c.

Wow.  Now that's one large patch.  I'm going to run with this for HEAD,
but I think we should do a minimal fix for PG10.  Did you detect any
further bugs, while doing all this rework, apart from the one that
started this thread?  If not, I would prefer to do commit the minimal
fix at start of thread to both branches, then apply the larger
restructuring patch to HEAD only.

For the record, I don't like the amount of code that this is putting in
relcache.c.  I am thinking that most of that code will go to
src/backend/partitioning/partbounds.c instead.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: Re: Boolean partitions syntax
Next
From: Alvaro Herrera
Date:
Subject: Re: Creation of wiki page for open items of v11