Re: Determine if an index is a B-tree, GIST, or something else?

From: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Determine if an index is a B-tree, GIST, or something else?
Date: 2013-01-17 19:49:37
Message-ID: CA+6hpamWJ7mGTJou-yJcwPM_eHJT57hrNNHEeOwNDNey0-fwkQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> pg_opclass seems the hard way --- just use pg_class.relam, which is
> the OID of the index's AM.

Ah, that works like a charm. Thanks!

Paul

In response to

Browse pgsql-general by date

  From Date Subject
Next Message salah jubeh 2013-01-17 20:45:32 SELECT DISTINCT
Previous Message Tom Lane 2013-01-17 19:14:05 Re: Determine if an index is a B-tree, GIST, or something else?