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

Commita5f312c

Browse files
committed
Fix MarkGUCPrefixReserved() to check all options.
This bug was only present on v15. MarkGUCPrefixReserved() is new inv15, and in v16, it was rewritten to use a hash table and the newimplementation did not have this bug.Author: Karina Litskevich, Ekaterina SokolovaDiscussion:https://www.postgresql.org/message-id/CACiT8ibqyC=_g1n6FXyFJvFW0BEjAH3_5aGqUSFeEp8GpnVrhw@mail.gmail.com
1 parent907d3dd commita5f312c

File tree

1 file changed

+1
-0
lines changed
  • src/backend/utils/misc

1 file changed

+1
-0
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9723,6 +9723,7 @@ MarkGUCPrefixReserved(const char *className)
97239723
num_guc_variables--;
97249724
memmove(&guc_variables[i],&guc_variables[i+1],
97259725
(num_guc_variables-i)*sizeof(structconfig_generic*));
9726+
i--;
97269727
}
97279728
}
97289729

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp