Re: Where the info is stored - Mailing list pgsql-general

From David G. Johnston
Subject Re: Where the info is stored
Date
Msg-id CAKFQuwZ=4-DTzeUwgmSNv1bctyq+aZnjZSsV2xdQDGr406AnOA@mail.gmail.com
Whole thread
In response to Re: Where the info is stored  (Igor Korot <ikorot01@gmail.com>)
Responses Re: Where the info is stored
List pgsql-general
On Saturday, February 28, 2026, Igor Korot <ikorot01@gmail.com> wrote:

draft=#  WITH idx AS(  SELECT i.indexrelid, i.indrelid, i.indnkeyatts,
i.indkey::int2[] AS indkey FROM pg_index i, pg_class ic, pg_namespace
ns 

WHERE ic.oid = i.indexrelid AND ns.oid = ic.relnamespace AND
ns.nspname = 'public' AND ic.relname = 'leagues_new' )


I doubt your index name is leagues_new.  That is probably the table name.  But ic.relname contains index names.

David J.

pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Re: Where the info is stored
Next
From: Igor Korot
Date:
Subject: Re: Where the info is stored