Re: Should new partitions inherit their tablespace from their parent? - Mailing list pgsql-hackers

From David Rowley
Subject Re: Should new partitions inherit their tablespace from their parent?
Date
Msg-id CAKJS1f_gz85CgNbcych11oQGGi-=dxkapL5cb04pANpePr-zkA@mail.gmail.com
Whole thread Raw
In response to Re: Should new partitions inherit their tablespace from their parent?  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Mon, 17 Dec 2018 at 12:59, Michael Paquier <michael@paquier.xyz> wrote:
> Okay, I think that you should add an assertion on
> CheckRelationLockedByMe() as MergeAttributes()'s only caller is
> DefineRelation().  Better safe than sorry later.

Would that not just double up the work that's already done in relation_open()?

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Catalog views failed to show partitioned table information.
Next
From: Michael Paquier
Date:
Subject: Re: Catalog views failed to show partitioned table information.