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

From Paul Jungwirth
Subject Re: Determine if an index is a B-tree, GIST, or something else?
Date
Msg-id CA+6hpamWJ7mGTJou-yJcwPM_eHJT57hrNNHEeOwNDNey0-fwkQ@mail.gmail.com
Whole thread Raw
In response to Re: Determine if an index is a B-tree, GIST, or something else?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Determine if an index is a B-tree, GIST, or something else?
Next
From: salah jubeh
Date:
Subject: SELECT DISTINCT