Re: [GENERAL] Temporary tables and miscellaneous schemas - Mailing list pgsql-patches

From Tom Lane
Subject Re: [GENERAL] Temporary tables and miscellaneous schemas
Date
Msg-id 20211.1071984310@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Temporary tables and miscellaneous schemas  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [GENERAL] Temporary tables and miscellaneous schemas
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Also, how do we know something is a temp schema?  Just the prefix
> pg_temp_*?

Yeah.  Remember that all schemas named pg_XXX are reserved for system
use.  For the moment, testing for pg_temp_XXX is a bulletproof test,
and we can certainly adapt psql's test if we ever add schemas that might
conflict.

Looking at the present output of \dn, I wonder whether we should not
suppress the pg_toast schema as well.  That could be done (at the
moment) by bouncing all schemas 'pg_t*' ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Temporary tables and miscellaneous schemas
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Temporary tables and miscellaneous schemas