Re: Where the info is stored

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Where the info is stored
Date: 2026-03-01 05:49:13
Message-ID: CAKFQuwZ=4-DTzeUwgmSNv1bctyq+aZnjZSsV2xdQDGr406AnOA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday, February 28, 2026, Igor Korot <ikorot01(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2026-03-01 07:50:52 Re: Where the info is stored
Previous Message Igor Korot 2026-03-01 05:34:58 Re: Where the info is stored