Re: Issue in pg_catalog.pg_indexes view definition - Mailing list pgsql-hackers

From Dilip Kumar
Subject Re: Issue in pg_catalog.pg_indexes view definition
Date
Msg-id CAFiTN-sdp31upXTMrfOWgbsftmhT5Zbp681T4KBRkB4E7D_G4g@mail.gmail.com
Whole thread Raw
In response to Re: Issue in pg_catalog.pg_indexes view definition  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Issue in pg_catalog.pg_indexes view definition  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers

On Thu, Jul 14, 2016 at 1:40 PM, Michael Paquier <michael.paquier@gmail.com> wrote:
-        pg_get_indexdef(I.oid) AS indexdef
+        pg_get_indexdef(X.indexrelid) AS indexdef
Fixing it this way looks like a good idea to me to bypass those cache
lookup errors caused by non-index relations. Now I think that you need
as well to update the regression test output.

I observed one regression failure caused by this fix. So fixed the same in new patch.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com
Attachment

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Issue in pg_catalog.pg_indexes view definition
Next
From: Michael Paquier
Date:
Subject: Re: Issue in pg_catalog.pg_indexes view definition