Re: RE: [PATCHES] relation filename patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: RE: [PATCHES] relation filename patch
Дата
Msg-id 200005022126.RAA25556@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: RE: [PATCHES] relation filename patch  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: RE: [PATCHES] relation filename patch
Список pgsql-hackers
> > Our code even masks a real table created in the same session.  Once
> > the temp table is dropped, the real table becomes visible again.  See
> > the regression tests for an example of this.
> 
> The real problem here is that there's no way of finding out whether you
> just dropped the temporary table or the "real" one or whether a table is
> temporary at all. Sure you can perhaps look into pg_class but tell that to
> users.

Do a \d on the table.  If it doesn't show up, it is temporary.  ;-)

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposal for fixing intra-query memory leaks
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Proposal for fixing intra-query memory leaks