-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hi all, firstly, thanks for giving pgrx to the world! We use pgrx at Lantern[^0] and when configuring GUCs noticed a small issue with GUC flags. Postgres requires `GUC_NOT_IN_SAMPLE` GUC flag to be set whenever `NO_SHOW_ALL` is set[^1]. Make applying `GucFlags::NO_SHOW_ALL` also apply `NOT_IN_SAMPLE`, as `NOT_IN_SAMPLE` cannot be set. After applying this diff, we no longer have a direct name matching between pgrx GUC names and postgres ones. An alternative might be to deprecate `NO_SHOW_ALL` and introduce something like `NO_SHOW_ALL_AND_NO_SAMPLE`, but not sure if it is worth it. [^0]: https://github.com/lanterndata/lantern [^1]: https://github.com/postgres/postgres/blob/dbedc461b4e7a9cb4d6f5777174bdf180edb95fd/src/backend/utils/misc/guc.c#L1506-L1519
- Loading branch information
1 parent
80338f3
commit 0193fd0
Showing
2 changed files
with
56 additions
and
2 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