> As of 7.4, this is a requirement badly in need of reconsideration.
> What makes you think there is any function name involved? Consider
> something like
> create index i on t ((col + 2));
>
> Getting the column names is still a sensible operation though. I'd
> suggest looking in pg_depend to see which columns of the table the
> index depends on.
Thank you for your help Tom!
Regards Jakub