public inbox for [email protected]  
help / color / mirror / Atom feed
From: Richard Guo <[email protected]>
To: Ranier Vilela <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Cc: David Rowley <[email protected]>
Subject: Re: Improve list manipulation in several places
Date: Sun, 23 Apr 2023 14:57:35 +0800
Message-ID: <CAMbWs4_bQGgqvLTEMt1og-LM-s36yTF6regp+AYE5rBLUmHViQ@mail.gmail.com> (raw)
In-Reply-To: <CAEudQArQSosP9qNR62M6_44t_iicQ4f9JAWmB5nriRccx-TfeQ@mail.gmail.com>
References: <CAMbWs49dJnpezDQDDxCPKq7+=_3NyqLqGqnhqCjd+dYe4MS15w@mail.gmail.com>
	<CAEudQArQSosP9qNR62M6_44t_iicQ4f9JAWmB5nriRccx-TfeQ@mail.gmail.com>

On Fri, Apr 21, 2023 at 7:16 PM Ranier Vilela <[email protected]> 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


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Improve list manipulation in several places
  In-Reply-To: <CAMbWs4_bQGgqvLTEMt1og-LM-s36yTF6regp+AYE5rBLUmHViQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox