Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TsdMs-0005Z8-7Z for pgsql-performance@arkaria.postgresql.org; Tue, 08 Jan 2013 17:53:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TsdMr-0006xx-5v for pgsql-performance@arkaria.postgresql.org; Tue, 08 Jan 2013 17:53:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TsdMq-0006xT-6b for pgsql-performance@postgresql.org; Tue, 08 Jan 2013 17:53:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TsdMm-0001qN-IA for pgsql-performance@postgresql.org; Tue, 08 Jan 2013 17:53:39 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r08HpetO010932; Tue, 8 Jan 2013 12:51:40 -0500 (EST) From: Tom Lane To: Jeff Janes cc: AJ Weber , "pgsql-performance@postgresql.org" Subject: Re: Partition table in 9.0.x? In-reply-to: References: <50E65B85.9000001@synedra.com> <50E74A33.5000204@comcast.net> <50E997C5.2000301@comcast.net> <50EC4D3D.9060209@comcast.net> Comments: In-reply-to Jeff Janes message dated "Tue, 08 Jan 2013 09:21:42 -0800" Date: Tue, 08 Jan 2013 12:51:40 -0500 Message-ID: <10931.1357667500@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Jeff Janes writes: > On Tue, Jan 8, 2013 at 8:45 AM, AJ Weber wrote: >> >> \d+ doesn't appear to display any size information. > It does if you use it without an argument, to display all the tables > in the search path: > jjanes=# \d+ > List of relations > Schema | Name | Type | Owner | Size | Description > --------+------------------+-------+--------+---------+------------- > public | pgbench_accounts | table | jjanes | 128 MB | > public | pgbench_branches | table | jjanes | 40 kB | > public | pgbench_history | table | jjanes | 0 bytes | > public | pgbench_tellers | table | jjanes | 40 kB | > (4 rows) > It rather annoys me that you actually get less information (no size, > no owner) when you use \d+ on a named table. I don't know if there is > a reason for that feature, or if it was just an oversight. This is actually an abbreviation for \dtisv+, which is a completely different command from "\d table". You can use something like "\dt+ table-pattern" to get a display of the above form for a subset of tables. I agree it ain't too consistent. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance