LookupExplicitNamespace() missing InvokeNamespaceSearchHook - Mailing list pgsql-bugs

From Simon Riggs
Subject LookupExplicitNamespace() missing InvokeNamespaceSearchHook
Date
Msg-id CANbhV-Eg_bvt1Xq-VKJxu_+54pcAd72c2c=WuUPLzK7Bkidpfw@mail.gmail.com
Whole thread Raw
List pgsql-bugs
LookupNamespaceNoError() calls InvokeNamespaceSearchHook() for
pg_temp, yet LookupExplicitNamespace() does not do so for pg_temp.

There's no explanation for that behavior and it just seems to be a missing call.

So anyone writing a hook will have incomplete behavior, varying
according to which call is used internally.

Patch attached.

-- 
Simon Riggs                http://www.EnterpriseDB.com/

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #16849: index and table data inconsistency
Next
From: PG Bug reporting form
Date:
Subject: BUG #16851: Master DB was unreachable and both master,slave entered into Standby while performing the switchover