Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5F876B5D95B for ; Tue, 25 Oct 2011 10:32:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 77225-04 for ; Tue, 25 Oct 2011 13:32:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6F415B5DCDB for ; Tue, 25 Oct 2011 10:32:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9PDWmR5021807; Tue, 25 Oct 2011 09:32:48 -0400 (EDT) To: "Maksym Boguk" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6267: Wrong results in pg_database_size In-reply-to: <201110250858.p9P8wjcQ085632@wwwmaster.postgresql.org> References: <201110250858.p9P8wjcQ085632@wwwmaster.postgresql.org> Comments: In-reply-to "Maksym Boguk" message dated "Tue, 25 Oct 2011 08:58:45 +0000" Date: Tue, 25 Oct 2011 09:32:48 -0400 Message-ID: <21806.1319549568@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/229 X-Sequence-Number: 31499 "Maksym Boguk" writes: > Somehow pg_database_size producing results which are 2х more then reality. I can't reproduce any such problem here. I suspect you overlooked some tablespaces in your manual "du" commands. regards, tom lane