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

Commitaba24b5

Browse files
committed
Initialize conn->Pfdebug to NULL when creating a connection
Failing to do this can cause a crash, and I suspect is what has happenedwith a buildfarm member reporting mysterious failures.This is an ancient bug, but I'm not backpatching since evidently nobodycares about PQtrace in older releases.Discussion:https://postgr.es/m/3333908.1617227066@sss.pgh.pa.us
1 parenta6d3dea commitaba24b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3952,6 +3952,7 @@ makeEmptyPGconn(void)
39523952
conn->verbosity=PQERRORS_DEFAULT;
39533953
conn->show_context=PQSHOW_CONTEXT_ERRORS;
39543954
conn->sock=PGINVALID_SOCKET;
3955+
conn->Pfdebug=NULL;
39553956

39563957
/*
39573958
* We try to send at least 8K at a time, which is the usual size of pipe

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp