Query to generate CREATE INDEX statement from

From: Andrew Hammond <andrew(dot)george(dot)hammond(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Query to generate CREATE INDEX statement from
Date: 2011-03-24 00:03:09
Message-ID: AANLkTikBPz9W2bT8rLxZpsbZ=2qJKDnjaiObLS4=JnmK@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2011-03-24 00:11:36 Re: missing history for pg_exec_query_string()
Previous Message Cédric Villemain 2011-03-23 23:50:45 Re: missing history for pg_exec_query_string()