Re: Making temp tables' toast tables be temp - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Making temp tables' toast tables be temp
Date
Msg-id 87sl7cxy04.fsf@oxford.xeocode.com
Whole thread Raw
In response to Making temp tables' toast tables be temp  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Making temp tables' toast tables be temp  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.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



pgsql-hackers by date:

Previous
From: "Gavin M. Roy"
Date:
Subject: Re: Machine available for community use
Next
From: Tom Lane
Date:
Subject: Re: Making temp tables' toast tables be temp