X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A864B4762E1 for ; Wed, 23 Apr 2003 13:02:40 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 38FA4476304 for ; Wed, 23 Apr 2003 13:02:30 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 1E95E43A89E; Wed, 23 Apr 2003 13:02:30 -0400 (EDT) From: jboes@nexcerpt.com (Jeff Boes) X-Newsgroups: comp.databases.postgresql.admin Subject: Leftover TEMPORARY tables? Date: 23 Apr 2003 10:02:25 -0700 Organization: http://groups.google.com/ Lines: 7 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-5.8 required=5.0 tests=BAYES_10 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/301 X-Sequence-Number: 8456 I just noticed that there are a number of tables in our schema with names fo the form pg_temp_*; these correspond to temporary tables created by our application, but they shouldn't still exist. Under what circumstances would a temporary table become permanent? Would it happen if the backend exited abnormally? Is there any way, short of bouncing the database, to determine which tables are NOT in use by the application?