Re: Show method of index - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Show method of index
Date
Msg-id 4136ffa0905111624n3a45b8b7h91b7f4ef06700302@mail.gmail.com
Whole thread Raw
In response to Re: Show method of index  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Show method of index  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, May 12, 2009 at 12:20 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
>         Index "public.fooi"
>     Column      |  Type   | Definition
> -----------------+---------+------------
>  f1              | integer | f1
>  pg_expression_2 | integer | (f2+f3)

Is there any reason to expose "pg_expression_2" to the user at all?
It's not like they can make use of it in any public interface. I would
think we could just put the expression directly in the "Column"
column.

--
greg


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Show method of index
Next
From: Tom Lane
Date:
Subject: Re: SELECT ... FOR UPDATE [WAIT integer | NOWAIT] for 8.5