Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG-1036 Invoke previous object access hook #284

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

artemgavrilov
Copy link
Collaborator

@artemgavrilov artemgavrilov commented Sep 17, 2024

https://perconadev.atlassian.net/browse/PG-1036

Previously installed object access hook was ignored. This PR adds missing invocation.

@@ -17,21 +17,24 @@
#include "access/pg_tde_tdemap.h"


static object_access_hook_type old_objectaccess_hook = NULL;
static object_access_hook_type prev_object_access_hook = NULL;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed it for consistency with prev_shmem_request_hook

Copy link

Performance test results:
Normal queries: 9164
TDE queries: 8674
Percentage: 94%

@artemgavrilov artemgavrilov marked this pull request as ready for review September 17, 2024 17:27
@codeforall codeforall merged commit da0a002 into main Sep 19, 2024
13 checks passed
@artemgavrilov artemgavrilov deleted the PG-1036-invoke-previous-hook branch September 19, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants