| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Cc: | Khee Chin <kheechin(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Stark <stark(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, David Fetter <david(at)fetter(dot)org>, Ricardo Bessa <ricardobessa(at)gmail(dot)com> |
| Subject: | Re: Show method of index |
| Date: | 2009-07-06 17:02:44 |
| Message-ID: | 200907062002.48000.peter_e@gmx.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tuesday 12 May 2009 08:36:20 Khee Chin wrote:
> postgres=# \di idx_foo_bt_fooi;
> List of relations
> Schema | Name | Type | Owner | Table | Method |
> Definition
> --------+-----------------+-------+-------+-------+--------+---------------
>---------------- public | idx_foo_bt_fooi | index | rubik | foo | btree |
> md5((a)::text), md5((a || b))
> (1 row)
>
> postgres=# \d idx_foo_bt_fooi;
> Index "public.idx_foo_bt_fooi"
> Column | Type | Definition
> -----------------+------+--------------
> pg_expression_1 | text | md5(a::text)
> pg_expression_2 | text | md5(a || b)
> btree, for table "public.foo"
I have committed the second part, the additions to the \d output. I think the
sentiment was against changing the \di output.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2009-07-06 17:20:06 | Re: WIP: generalized index constraints |
| Previous Message | Tom Lane | 2009-07-06 16:20:34 | Re: 8.4, One-Time Filter and subquery ( ... FROM function() union all ... ) |