Re: Making temp tables' toast tables be temp

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Making temp tables' toast tables be temp
Date: 2007-07-25 16:13:15
Message-ID: 87sl7cxy04.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> So I'm thinking it might be time to fix this. After checking the
> code, it seems like it'd be a reasonably small patch if we establish
> a convention that toast tables for a temp schema pg_temp_nnn are
> kept in an associated dedicated schema, named something like
> pg_temp_nnn_toast or pg_toast_temp_nnn. Then functions like
> isOtherTempNamespace() could still recognize these tables as temp.
> It'd mean a bit more clutter in pg_namespace though.

Why not just in the same pg_temp namespace?

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-07-25 16:21:54 Re: Making temp tables' toast tables be temp
Previous Message Gavin M. Roy 2007-07-25 16:13:02 Re: Machine available for community use