Re: Partitioning with temp tables is broken

From: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, amul sul <sulamul(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Partitioning with temp tables is broken
Date: 2018-06-19 10:56:56
Message-ID: CAFjFpRfbQJnf=i69uK5horeVyh+2ZyOf=u7+tOo9hXcq09OKzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 19, 2018 at 4:22 PM, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> I was under the impression that this was implied in the precious
> phrasing but you guys visibly don't match with my impression. So I
> would suggest this paragraph at the end:
> "Mixing temporary and permanent relations in the same partition tree is
> not allowed. Hence, if the partitioned table is permanent, so must be
> its partitions at all levels and likewise if the partitioned table is

You don't need to mention "at all levels", its implied recursively.

--
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2018-06-19 11:03:27 Re: WAL prefetch
Previous Message Michael Paquier 2018-06-19 10:52:41 Re: Partitioning with temp tables is broken