[PATCH] Tiny optmization or is a bug? - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] Tiny optmization or is a bug?
Date
Msg-id MN2PR18MB292727E0CD0F7F220C4B07F9E3490@MN2PR18MB2927.namprd18.prod.outlook.com
Whole thread Raw
Responses Re: [PATCH] Tiny optmization or is a bug?
List pgsql-hackers
Hi,
Maybe this is a real bug.

The assignment has no effect, or forget dereferencing it?

Best regards.
Ranier Vilela

--- \dll\postgresql-12.0\a\backend\commands\lockcmds.c    Mon Sep 30 17:06:55 2019
+++ lockcmds.c    Fri Nov 22 18:45:01 2019
@@ -285,7 +285,7 @@

     LockViewRecurse_walker((Node *) viewquery, &context);

-    ancestor_views = list_delete_oid(ancestor_views, reloid);
+    list_delete_oid(ancestor_views, reloid);

     table_close(view, NoLock);
 }

Attachment

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: [PATCH] Tiny optmization.
Next
From: Ranier Vilela
Date:
Subject: [PATCH] Tiny optimization.