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

Commit5e874b2

Browse files
peterepull[bot]
authored andcommitted
Renumber confusing value for GUC_UNIT_BYTE
It had a power-of-two value, which looks right, and causes the othervalues which aren't powers-of-two to look wrong. But this is testedfor equality and not a bitwise test.See also:6e7baa3https://www.postgresql.org/message-id/CAOG9ApEu8bXVwBxkOO9J7ZpM76TASK_vFMEEiCEjwhMmSLiaqQ%40mail.gmail.comAuthor: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://www.postgresql.org/message-id/flat/20220720145220.GJ12702@telsasoft.com
1 parent65e32f3 commit5e874b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/utils/guc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ typedef enum
223223
#defineGUC_UNIT_BLOCKS0x2000/* value is in blocks */
224224
#defineGUC_UNIT_XBLOCKS0x3000/* value is in xlog blocks */
225225
#defineGUC_UNIT_MB0x4000/* value is in megabytes */
226-
#defineGUC_UNIT_BYTE0x8000/* value is in bytes */
226+
#defineGUC_UNIT_BYTE0x5000/* value is in bytes */
227227
#defineGUC_UNIT_MEMORY0xF000/* mask for size-related units */
228228

229229
#defineGUC_UNIT_MS 0x10000/* value is in milliseconds */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp