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

Commit58a9596

Browse files
committed
Fix I/O-conversion-related memory leaks in plpgsql.
Datatype I/O functions are allowed to leak memory in CurrentMemoryContext,since they are generally called in short-lived contexts. However, plpgsqlcalls such functions for purposes of type conversion, and was calling themin its procedure context. Therefore, any leaked memory would not berecovered until the end of the plpgsql function. If such a conversionwas done within a loop, quite a bit of memory could get consumed. Fix bycalling such functions in the transient "eval_econtext", and adjust otherlogic to match. Back-patch to all supported versions.Andres Freund, Jan Urbański, Tom Lane
1 parent59de132 commit58a9596

File tree

1 file changed

+96
-67
lines changed

1 file changed

+96
-67
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp