Andreas Pflug <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> Does anyone else think it's reasonable to define a backend function >> along the lines of pg_get_indexdef(indexoid, columnnumber) that >> retrieves just the column-name-or-expression for the indicated column >> of the index?
> There's a (pre-feature-freeze) patch pending, which implements > pg_get_indexdef(oid, int4), but the second parameter's meaning is the > pretty-print option. Now I'd rather like a function > pg_get_indexdef(indexoid, coumnnumber_int2, prettyprint_int4), I could > implement this quite fast but it's post-feature-freeze.... Given that that patch hasn't actually been applied yet, I think we can adjust it still. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html