Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group