Re: Include tablespace information in psql \d footers

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Include tablespace information in psql \d footers
Date: 2004-07-13 02:46:07
Message-ID: 200407130246.i6D2k7V05875@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian wrote:
>
> Patch applied. Thanks.
>
> I removed the display of tablespaces for sequences and toast tables:
>
> test=> \d test
> Table "public.test"
> Column | Type | Modifiers
> --------+---------+-----------
> x | integer |
>
> test=> \d test2
> Table "public.test2"
> Column | Type | Modifiers
> --------+---------+-----------
> x | integer |
> Tablespace:
> "tmp"
>
> Why is the tablespace name printed on a separate line?

OK, I moved the tablespace name up on to the same line just like Has
oids:

test=> \d+ test3
Table "public.test3"
Column | Type | Modifiers | Description
--------+---------+-----------+-------------
x | integer | not null |
Indexes:
"test3_pkey" PRIMARY KEY, btree (x)
Contains OIDs: yes
Tablespace: "tmp"

--
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

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-07-13 02:48:45 Re: Remove confusing commented-defaullts from postgresql.conf
Previous Message Greg Sabino Mullane 2004-07-13 00:53:10 Remove confusing commented-defaullts from postgresql.conf