Re: Partitioning with temp tables is broken - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Partitioning with temp tables is broken
Date
Msg-id 27248.1528987370@sss.pgh.pa.us
Whole thread Raw
In response to Re: Partitioning with temp tables is broken  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Responses Re: Partitioning with temp tables is broken
Re: Partitioning with temp tables is broken
List pgsql-hackers
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> writes:
> If I am reading Tom's reply upthread correctly, we should not allow
> creating a temporary partitioned table as well as temporary partitions
> altogether.

I think that if possible, we should still allow a partitioned table
in which all the rels are temp tables of the current session.  What we
have to disallow is (a) temp/permanent mixes and (b) temp tables from
different sessions.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: why partition pruning doesn't work?
Next
From: Nathan Bossart
Date:
Subject: Re: Microoptimization of Bitmapset usage in postgres_fdw