Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 1D6FEFBD25A for ; Thu, 26 Apr 2012 19:35:36 -0300 (ADT) Received: from smtp.01.com ([199.36.142.181]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SNXHf-0005C9-B6 for pgsql-bugs@postgresql.org; Thu, 26 Apr 2012 22:35:35 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 7A4EB29400C; Thu, 26 Apr 2012 17:35:18 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id od-CXvdsdfvl; Thu, 26 Apr 2012 17:35:18 -0500 (CDT) Received: from smtp.01.com (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 54A80294085; Thu, 26 Apr 2012 17:35:18 -0500 (CDT) Received: from Sidney-Stratton.local (70-36-143-92.dsl.dynamic.sonic.net [70.36.143.92]) by smtp-out-1.01.com (Postfix) with ESMTPSA id 1FB6729400C; Thu, 26 Apr 2012 17:35:18 -0500 (CDT) Message-ID: <4F99CDA5.4020707@agliodbs.com> Date: Thu, 26 Apr 2012 15:35:17 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: 291 pg_toast_temp schemas? References: <4F998738.9030303@agliodbs.com> <11031.1335464521@sss.pgh.pa.us> In-Reply-To: <11031.1335464521@sss.pgh.pa.us> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/161 X-Sequence-Number: 32912 On 4/26/12 11:22 AM, Tom Lane wrote: > Josh Berkus writes: >> summary: database has 291 empty pg_toast_temp schemas. > > If your max_connections is 300 or more, this isn't surprising in the > least. Yes, they are. >> ... so, apparently we still have an issue with cleaning up pg_toast_temp >> schema? > > If they are empty, no we don't have a problem with cleaning them up. > The pg_namespace entries are deliberately left there across sessions, > to avoid useless catalog churn. Aha, ok. Should I add a FAQ item about this? Also, have we discussed maybe hiding these schemas from \dn? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com