Skip to content

Commit f739f46

Browse files
committed
recompute search path when compatible is changed.
1 parent 3dc8c45 commit f739f46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend/catalog/namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4466,7 +4466,7 @@ cachedNamespacePath(const char *searchPath, Oid roleid)
44664466
* checks).
44674467
*/
44684468
if (entry->finalPath == NIL || object_access_hook ||
4469-
entry->forceRecompute)
4469+
entry->forceRecompute || baseSearchPathValid == false)
44704470
{
44714471
list_free(entry->finalPath);
44724472
entry->finalPath = NIL;

0 commit comments

Comments
 (0)