forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use AccessExclusiveLock for truncating Babelfish catalogs (babelfish-…
…for-postgresql#3178) When truncating certain Babelfish catalogs, we use the heap_truncate_one_rel function which expects the caller to hold the AccessExclusiveLock on the catalog. This commit updates the lock used for opening/closing the catalog from RowExclusiveLock to AccessExclusiveLock. Task: BABEL-5439 Signed-off-by: Sharu Goel <[email protected]>
- Loading branch information
1 parent
eb12d20
commit 4ad36c5
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters