Skip to content

Commit

Permalink
Merge branch 'babel_dep_test' into babel_dep
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshLunagariya committed Dec 15, 2024
2 parents 40bd6cb + 7b4b2d7 commit fc2d397
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/catalog/aclchk.c
Original file line number Diff line number Diff line change
Expand Up @@ -4687,7 +4687,7 @@ recordExtensionInitPriv(Oid objoid, Oid classoid, int objsubid, Acl *new_acl)
if (!creating_extension && !binary_upgrade_record_init_privs)
return;

if (pltsql_check_store_init_privs_flag_hook && ((*pltsql_check_store_init_privs_flag_hook)()))
if (pltsql_check_store_init_privs_flag_hook && ((*pltsql_check_store_init_privs_flag_hook)(objoid, classoid, objsubid)))
return;

recordExtensionInitPrivWorker(objoid, classoid, objsubid, new_acl);
Expand Down
2 changes: 1 addition & 1 deletion src/include/utils/acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ extern PGDLLEXPORT pltsql_get_object_owner_hook_type pltsql_get_object_owner_hoo
typedef bool (*is_bbf_db_ddladmin_operation_hook_type) (Oid namespaceId);
extern PGDLLEXPORT is_bbf_db_ddladmin_operation_hook_type is_bbf_db_ddladmin_operation_hook;

typedef bool (*pltsql_check_store_init_privs_flag_hook_type) (void);
typedef bool (*pltsql_check_store_init_privs_flag_hook_type) (Oid objoid, Oid classoid, int objsubid);
extern PGDLLEXPORT pltsql_check_store_init_privs_flag_hook_type pltsql_check_store_init_privs_flag_hook;

#define IS_BBF_DB_DDLADMIN(namespaceId) \
Expand Down

0 comments on commit fc2d397

Please sign in to comment.