Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf26c236

Browse files
committed
Add cache for recomputeNamespacePath().
When search_path is changed to something that was previously set, andno invalidation happened in between, use the cached list of namespaceOIDs rather than recomputing them. This avoids syscache lookups andACL checks.Important when the search_path changes frequently, such as when set inproconfig.An earlier version of this patch was reviewd by Nathan Bossart. Thisversion simplifies a few things and is safer in case of OOM.Discussion:https://www.postgresql.org/message-id/abf4ce8804e0e05dff8c1725ae6a8ed28b7d66e0.camel%40j-davis.comReviewed-by: Nathan Bossart
1 parent7f6bc3b commitf26c236

File tree

1 file changed

+341
-63
lines changed

1 file changed

+341
-63
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp