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

Commit6da740e

Browse files
committed
Fix segmentation fault that an empty prepared statement could cause.
Back-patch to all supported branches.Per bug #11335 from Haruka Takatsuka
1 parent643cad1 commit6da740e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backend/tcop/utility.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2452,6 +2452,9 @@ GetCommandLogLevel(Node *parsetree)
24522452
{
24532453
LogStmtLevellev;
24542454

2455+
if (parsetree==NULL)
2456+
returnLOGSTMT_ALL;
2457+
24552458
switch (nodeTag(parsetree))
24562459
{
24572460
/* raw plannable queries */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp