Re: CREATE FUNCTION ... SEARCH { DEFAULT | SYSTEM | SESSION }
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: John Naylor <johncnaylorls@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut
<peter@eisentraut.org>, pgsql-hackers@postgresql.org
Date: 2023-12-07T22:00:15Z
Lists: pgsql-hackers
Attachments
- v3-0001-Cache-opaque-handle-for-GUC-option-to-avoid-repea.patch (text/x-patch) patch v3-0001
On Tue, 2023-12-05 at 11:58 -0800, Jeff Davis wrote: > Also, I forward-declared config_generic in guc.h to eliminate the > cast. Looking more closely, I fixed an issue related to placeholder configs. We can't return a handle to a placeholder, because it's not stable, so in that case it falls back to using the name. My apologies for the churn on this (mostly) simple patch. I think this version is correct; I intend to commit soon. Regards, Jeff Davis
Commits
-
Cache opaque handle for GUC option to avoid repeasted lookups.
- 867dd2dc8704 17.0 landed
-
Add cache for recomputeNamespacePath().
- f26c2368dcae 17.0 cited