git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: dc6070b) | patch
A minor simplification for List manipulation
Mon, 3 Jul 2023 09:35:15 +0000 (11:35 +0200)
Mon, 3 Jul 2023 09:39:03 +0000 (11:39 +0200)
commit 6d56c501a75fe0fd0b7104b3efee55e1cea8e80a
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.gmail.com
src/backend/rewrite/rewriteSearchCycle.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /