Re: Improve list manipulation in several places

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, David Rowley <dgrowleyml(at)gmail(dot)com>
Subject: Re: Improve list manipulation in several places
Date: 2023-04-23 06:57:35
Message-ID: CAMbWs4_bQGgqvLTEMt1og-LM-s36yTF6regp+AYE5rBLUmHViQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Apr 21, 2023 at 7:16 PM Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:

> +lcons_copy(void *datum, const List *list)
> +lappend_copy(const List *list, void *datum)
> list param pointer can be const here not?
>

Correct. Good point. V2 patch does that.

Thanks
Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2023-04-23 09:29:59 Re: Improving worst-case merge join performance with often-null foreign key
Previous Message Richard Guo 2023-04-23 06:42:53 Re: Improve list manipulation in several places