Re: Include tablespace information in psql \d footers
| От | Bruce Momjian | 
|---|---|
| Тема | Re: Include tablespace information in psql \d footers | 
| Дата | |
| Msg-id | 200407130246.i6D2k7V05875@candle.pha.pa.us обсуждение исходный текст  | 
		
| Ответ на | Re: Include tablespace information in psql \d footers (Bruce Momjian <pgman@candle.pha.pa.us>) | 
| Ответы | 
                	
            		Re: Include tablespace information in psql \d footers
            		
            		 | 
		
| Список | 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
		
	В списке pgsql-patches по дате отправления: