From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: A minor simplification for List manipulation
Date: Mon, 03 Jul 2023 09:40:25 +0000
Message-ID: <E1qGG2j-001g1R-R7@gemulon.postgresql.org> (raw)
A minor simplification for List manipulation
Fix one place that was using lfirst(list_head(list)) by using linitial(list)
instead. They are equivalent but the latter is simpler. We did the same in
9d299a49.
Author: Richard Guo <guofenglinux@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAMbWs49dJnpezDQDDxCPKq7+=_3NyqLqGqnhqCjd+dYe4MS15w@mail....
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6d56c501a75fe0fd0b7104b3efee55e1cea8e80a
Modified Files
--------------
src/backend/rewrite/rewriteSearchCycle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: A minor simplification for List manipulation
In-Reply-To: <E1qGG2j-001g1R-R7@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox