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

Commit887dd04

Browse files
committed
Fix obsolete comment.
Comment about MaxAllocSize was not updated when the TOAST-header macroswere replaced in 8.3 "varvarlena" changes. Per report from Frederik Ramm.
1 parent883a965 commit887dd04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/include/utils/memutils.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
*be summarily denied.
3131
*
3232
* XXX This is deliberately chosen to correspond to the limiting size
33-
* of varlena objects under TOAST.See VARATT_MASK_SIZE in postgres.h.
33+
* of varlena objects under TOAST.See VARSIZE_4B() and related macros
34+
* in postgres.h. Many datatypes assume that any allocatable size can
35+
* be represented in a varlena header.
3436
*
3537
* XXX Also, various places in aset.c assume they can compute twice an
3638
* allocation's size without overflow, so beware of raising this.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp