[PATCH] Tiny optimization.

From: Ranier Vilela <ranier_gyn(at)hotmail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Tiny optimization.
Date: 2019-11-22 21:58:55
Message-ID: MN2PR18MB2927E73FADCA8967B2302469E3490@MN2PR18MB2927.namprd18.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
execExpr.c.patch application/octet-stream 305 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2019-11-22 22:05:08 Re: [PATCH] Tiny optmization.
Previous Message Ranier Vilela 2019-11-22 21:51:50 [PATCH] Tiny optmization or is a bug?