"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