Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] psql's "\d" and CLUSTER

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Igor Shevchenko <igor(at)carcass(dot)ath(dot)cx>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [GENERAL] psql's "\d" and CLUSTER
Date: 2004-03-31 04:46:11
Message-ID: 200403310446.i2V4kB920259@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-patches
Igor Shevchenko wrote:
> Hi,
> 
> Are there any plans on adding CLUSTER-related information to "\d tablename" ?

The attached patch displays cluster information for \d "table" and \di
"index":
	
	test=> \d test2
	     Table "public.test2"
	 Column |  Type   | Modifiers
	--------+---------+-----------
	 y      | integer | not null
	Indexes:
	    "test2_pkey" PRIMARY KEY, btree (y) CLUSTER
	
	test=> \d test2_pkey
	Index "public.test2_pkey"
	 Column |  Type
	--------+---------
	 y      | integer
	PRIMARY KEY, btree, for table "public.test2", CLUSTER

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-patches by date

Next:From: bwhiteDate: 2004-03-31 08:10:33
Subject: Question about rtrees (overleft replacing left in nodes)
Previous:From: Bruce MomjianDate: 2004-03-31 02:42:11
Subject: Re: logging statement levels

pgsql-general by date

Next:From: Ericson SmithDate: 2004-03-31 05:59:04
Subject: Re: Wich hardware suits best for large full-text indexed
Previous:From: Brent WoodDate: 2004-03-31 02:00:44
Subject: Re: Wich hardware suits best for large full-text indexed

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group