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

Commita933bce

Browse files
committed
compatible_oper needs to do ReleaseSysCache in one path to avoid
complaints about 'Cache reference leak'. Per report from Don Baccus.
1 parente355992 commita933bce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/parser/parse_oper.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.48 2001/03/22 03:59:41 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.49 2001/04/23 04:32:30 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -686,6 +686,9 @@ compatible_oper(char *op, Oid arg1, Oid arg2, bool noError)
686686
IS_BINARY_COMPATIBLE(opform->oprright,arg2)))
687687
returnoptup;
688688

689+
/* nope... */
690+
ReleaseSysCache(optup);
691+
689692
if (!noError)
690693
op_error(op,arg1,arg2);
691694

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp