[PATCH] Tiny optimization. - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] Tiny optimization.
Date
Msg-id MN2PR18MB2927E73FADCA8967B2302469E3490@MN2PR18MB2927.namprd18.prod.outlook.com
Whole thread Raw
Responses Re: [PATCH] Tiny optimization.
List pgsql-hackers
Hi,
Remove redutant test.

best regards.
Ranier Vilela

--- \dll\postgresql-12.0\a\backend\executor\execExpr.c    Mon Sep 30 17:06:55 2019
+++ execExpr.c    Fri Nov 22 18:50:32 2019
@@ -2426,7 +2426,7 @@
     {
         desc = parent->scandesc;

-        if (parent && parent->scanops)
+        if (parent->scanops)
             tts_ops = parent->scanops;

         if (parent->scanopsset)

Attachment

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: [PATCH] Tiny optmization or is a bug?
Next
From: Tomas Vondra
Date:
Subject: Re: [PATCH] Tiny optmization.