Query to generate CREATE INDEX statement from - Mailing list pgsql-hackers

From Andrew Hammond
Subject Query to generate CREATE INDEX statement from
Date
Msg-id AANLkTikBPz9W2bT8rLxZpsbZ=2qJKDnjaiObLS4=JnmK@mail.gmail.com
Whole thread Raw
Responses Re: Query to generate CREATE INDEX statement from
Re: Query to generate CREATE INDEX statement from
List 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 by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: missing history for pg_exec_query_string()
Next
From: Jaime Casanova
Date:
Subject: Re: missing history for pg_exec_query_string()