-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PG-261: Fix regression tests on distribution packages.
The code added in pgss_store() to handle an assertion failure when GetUserId() was being called introduced a problem with regression tests in some builds, specifically our PG11 and PG12 distributions for Ubuntu. The problem was detected when calling some json functions that would trigger parallel workers, to solve the problem now we check if our hooks are being called by parallel workers, in this case we can avoid doing work, it also fixes the issue mentioned above as we won't call GetUserId() anymore in an invalid context.
- Loading branch information
1 parent
52ea543
commit bf8c93b
Showing
1 changed file
with
18 additions
and
8 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