1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Fix breakage of rules using NOTIFY actions, per bug report and patch

from sergiop@sinectis.com.ar.
This commit is contained in:
Tom Lane
2001-01-03 22:01:05 +00:00
parent 676cf18c5b
commit 60500d58bc
2 changed files with 28 additions and 2 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.86 2000/12/07 01:22:25 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.87 2001/01/03 22:01:05 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -124,6 +124,7 @@ gatherRewriteMeta(Query *parsetree,
* Note that if the rule refers to OLD, its jointree will add back
* a reference to rt_index.
*/
if (sub_action->jointree != NULL)
{
bool found;
List *newjointree = adjustJoinTreeList(parsetree,