Dave Cramer <pg(at)fastcrypt(dot)com> writes:
> On 14 May 2016 at 10:33, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Using pg_get_indexdef() would leave you much less vulnerable to cross-
>> version differences in the system catalogs.
> That means parsing the response..
True. If it seems like too much churn, I think you wouldn't go very far
wrong by assuming that ASC/DESC is only relevant to btree indexes.
regards, tom lane