Fix the script that sorts GUCs in alphabethical order

pull/7452/head
Onur Tirtir 2024-01-17 11:41:53 +03:00
parent 542212c3d8
commit 3478a2e0da
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ set -euo pipefail
# shellcheck disable=SC1091
source ci/ci_helpers.sh
# extract citus gucs in the form of "citus.X"
grep -o -E "(\.*\"citus\.\w+\")," src/backend/distributed/shared_library_init.c > gucs.out
# extract citus gucs in the form of <tab><tab>"citus.X"
grep -P "^[\t][\t]\"citus\.[a-zA-Z_0-9]+\"" src/backend/distributed/shared_library_init.c > gucs.out
sort -c gucs.out
rm gucs.out