Re: Avoid possible useless call to makeNode function (src/backend/commands/view.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoid possible useless call to makeNode function (src/backend/commands/view.c)
Date: 2024-10-29 12:45:02
Message-ID: CAEudQAqBg-+1vA_gPRPLK2W5HVKahqqjuWVB8fcBGPLv_0yLyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em ter., 29 de out. de 2024 às 09:25, David Rowley <dgrowleyml(at)gmail(dot)com>
escreveu:

> On Wed, 30 Oct 2024 at 01:07, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:
> > With the function *DefineVirtualRelation* has a possible
> > useless call to *makeNode* function, which invokes palloc.
> >
> > So, reduce the scope for the variable to inner else
> > where it is really necessary.
>
> Seem legit. I can take care of that.
>
Thanks David, for the commit.

best regards,
Ranier Vilela

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2024-10-29 12:48:09 Re: detoast datum into the given buffer as a optimization.
Previous Message Andrei Zubkov 2024-10-29 12:40:09 Re: Vacuum statistics