Re: Delete temp tables

Поиск
Список
Период
Сортировка
От Vilson farias
Тема Re: Delete temp tables
Дата
Msg-id 002b01c03e71$6efa5520$98a0a8c0@dti.digitro.com.br
обсуждение исходный текст
Ответ на Delete temp tables  ("Vilson farias" <vilson.farias@digitro.com.br>)
Ответы Re: Delete temp tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Delete temp tables  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
: In short: if you want to delete a table there is one and only one
: safe method to do it: DROP TABLE.  The key difference between a temp
: table and a regular table is that the DROP will be done for you
: automatically when you disconnect.

Now why?
relatorio=#  DROP TABLE "pg_temp.1823.17";
ERROR:  class "pg_temp.1823.17" is a system catalog

I really need to erase these tables, because they are not been auto-removed
after my application crashes. I have more than 100 zombie temp tables in my
system. What are the system tables that I need to remove temp tables
information?

Regards,

José Vilson de Mello de Farias
Dígitro Tecnologia Ltda.

:
: regards, tom lane
:


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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: Re: three things
Следующее
От: "Adam Lang"
Дата:
Сообщение: Re: Using pgsql to archive e-mail