Query to generate CREATE INDEX statement from

Поиск
Список
Период
Сортировка
От Andrew Hammond
Тема Query to generate CREATE INDEX statement from
Дата
Msg-id AANLkTikBPz9W2bT8rLxZpsbZ=2qJKDnjaiObLS4=JnmK@mail.gmail.com
обсуждение исходный текст
Ответы Re: Query to generate CREATE INDEX statement from  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
Re: Query to generate CREATE INDEX statement from  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I'm building some partitioning support functions. I'm working on writing one called clone_indexes_to_partition right now. The idea is to take all the indexes applied to the parent and create a matching index on the child. Is there existing code that generates a CREATE INDEX statement given an indexrelid? 

Andrew

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

Предыдущее
От: Cédric Villemain
Дата:
Сообщение: Re: missing history for pg_exec_query_string()
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: missing history for pg_exec_query_string()