pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Robert Haas <robertmhaas@gmail.com>
To: Aleksander Alekseev <a.alekseev@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [Patch] Temporary tables that do not bloat pg_catalog (a.k.a fast temp tables)
Date: Tue, 16 Aug 2016 19:03:22 -0500
Message-ID: <95bdc353-1a89-3fe3-1181-eba558c4df83@BlueTreble.com> (raw )
In-Reply-To: <CA+TgmoaTbFPTWEzccd1p6k_v7WwmYGwMOZ3qJYhfQo0-JmyhNQ@mail.gmail.com >
References: <20160801124531.66cde374@fujitsu >
<26c3bc60-6613-e7ab-517a-53136f01fb6c@2ndquadrant.com >
<13191.1470072250@sss.pgh.pa.us >
<20160804151451.6fb87507@fujitsu >
<CA+Tgmob+AS4vPA-wp+KevL7q+qK4c7yZ5wjGvEv6EqPChE2oYQ@mail.gmail.com >
<CA+q6zcVLO7VoHHpRn9ExkiWksF6TwJ-rabqgwRJgC2_ci8_UEQ@mail.gmail.com >
<CA+TgmoYstEXxa0KCAPVAVseTwBpb51t=bK1FBU8L8h4sC3XWBQ@mail.gmail.com >
<14212.1470595566@sss.pgh.pa.us >
<20160815005755.gswdyjfob7dzw4yp@alap3.anarazel.de >
<20319.1471223097@sss.pgh.pa.us >
<20160815010852.5ijua2wm2edzimd4@alap3.anarazel.de >
<20160815121216.46bd758d@e733 >
<CA+TgmoaTbFPTWEzccd1p6k_v7WwmYGwMOZ3qJYhfQo0-JmyhNQ@mail.gmail.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 8/16/16 11:59 AM, Robert Haas wrote:
...
> That doesn't really solve the problem, because OTHER backends won't be
> able to see them. So, if I create a fast temporary table in one
> session that depends on a permanent object, some other session can
> drop the permanent object. If there were REAL catalog entries, that
> wouldn't work, because the other session would see the dependency.
Some discussion about TEMP functions is happening on -general right now,
and there's other things where temp objects are good to have, so it'd be
nice to have a more generic fix for this stuff. Is the idea of
"partitioning" the catalogs to store temp objects separate from
permanent fatally flawed?
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (63+ messages) latest in thread
Message-ID: <95bdc353-1a89-3fe3-1181-eba558c4df83@BlueTreble.com>
Permalink: ../95bdc353-1a89-3fe3-1181-eba558c4df83@BlueTreble.com/
Also on: postgresql.org/message-id/95bdc353-1a89-3fe3-1181-eba558c4df83@BlueTreble.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: Jim.Nasby@BlueTreble.com, robertmhaas@gmail.com, a.alekseev@postgrespro.ru
Subject: Re: [Patch] Temporary tables that do not bloat pg_catalog (a.k.a fast temp tables)
In-Reply-To: <95bdc353-1a89-3fe3-1181-eba558c4df83@BlueTreble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox