Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf818551

Browse files
Handle alphanumeric characters in matching GUC names
The check for whether all GUCs are present in the sample configfile used the POSIX character class :alpha: which corresponds toalphabet and not alphanumeric. Since GUC names can contain digitsas well we need to use the :alnum: character class instead.Author: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/2CB04559-B1D8-4558-B6F0-8F09093D629F@yesql.se
1 parente546989 commitf818551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/modules/test_misc/t/003_check_guc.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
# file.
5757
# - Valid configuration options are followed immediately by " = ",
5858
# with one space before and after the equal sign.
59-
if ($line =~m/^#?([_[:alpha:]]+) = .*/)
59+
if ($line =~m/^#?([_[:alnum:]]+) = .*/)
6060
{
6161
# Lower-case conversion matters for some of the GUCs.
6262
my$param_name =lc($1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp