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

Commit6742c60

Browse files
committed
Fix incorrect change in dblink introduced by the previous commit
"Fix connection leak in dblink".
1 parent71dca6e commit6742c60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/dblink/dblink.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,8 +1981,8 @@ createNewConnection(const char *name, remoteConn * con)
19811981

19821982
if (found)
19831983
{
1984-
PQfinish(rconn->conn);
1985-
pfree(rconn);
1984+
PQfinish(con->con);
1985+
pfree(con);
19861986

19871987
ereport(ERROR,
19881988
(errcode(ERRCODE_DUPLICATE_OBJECT),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp