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

Commit20fbf25

Browse files
committed
Fix harmless thinko in dsa.c.
Commit16be2fd added DSA_ALLOC_HUGE,DSA_ALLOC_ZERO and DSA_ALLOC_NO_OOM which have the same numericalvalues and meanings as the similarly named MCXT_... macros. In oneplace we accidentally used MCXT_ALLOC_NO_OOM when DSA_ALLOC_NO_OOM iswanted, so tidy that up.Author: Thomas MunroDiscussion:http://postgr.es/m/CAEepm=2AimHxVkkxnMfQvbZMkXy0uKbVa0-D38c5-qwrCm4CMQ@mail.gmail.comBackpatch: 10, where dsa was introduced.
1 parent0cdc3e4 commit20fbf25

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/mmgr

1 file changed

+1
-1
lines changed

‎src/backend/utils/mmgr/dsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ dsa_allocate_extended(dsa_area *area, Size size, int flags)
707707
dsa_free(area,span_pointer);
708708

709709
/* Raise error unless asked not to. */
710-
if ((flags&MCXT_ALLOC_NO_OOM)==0)
710+
if ((flags&DSA_ALLOC_NO_OOM)==0)
711711
ereport(ERROR,
712712
(errcode(ERRCODE_OUT_OF_MEMORY),
713713
errmsg("out of memory"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp