Re: Free list same_input_transnos in preprocess_aggref

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zhang Mingli <zmlpostgres(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Free list same_input_transnos in preprocess_aggref
Date: 2022-09-19 15:14:05
Message-ID: 348390.1663600445@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zhang Mingli <zmlpostgres(at)gmail(dot)com> writes:
> In preprocess_aggref(), list same_input_transnos is used to track compatible transnos.
> Free it if we don’t need it anymore.

Very little of the planner bothers with freeing small allocations
like that. Can you demonstrate a case where this would actually
make a meaningful difference?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2022-09-19 15:16:27 Re: why can't a table be part of the same publication as its schema
Previous Message Aleksander Alekseev 2022-09-19 14:57:36 Re: HOT chain validation in verify_heapam()