Re: Show method of index

Поиск
Список
Период
Сортировка
От Khee Chin
Тема Re: Show method of index
Дата
Msg-id 797115b80905081513o49e1e1cfk8142fdf9be567af3@mail.gmail.com
обсуждение исходный текст
Ответ на Show method of index  (Ricardo Bessa <ricardobessa@gmail.com>)
Ответы Re: Show method of index  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
> Hi,

>     I think that can be useful the command \di on psql show the method of
> index (hash, btree, ...) like:

>     test=# \di
>                            List of relations
>      Schema |     Name      | Type  |   Owner    | Table  | Method
>     --------+---------------+-------+------------+--------+--------
>      public | test_id_idx   | index | postgresql | table1 | btree
>      public | test_name_idx | index | postgresql | table1 | hash
>     (2 rows)

Attached is a simple patch which adds the above mentioned functionality to psql.

Regards,
Khee Chin.

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Some 8.4 changes needed according to pg_migrator testing
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: strict version of version_stamp.pl