diff options
author | Neil Conway <neilc@samurai.com> | 2004-09-27 04:12:03 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2004-09-27 04:12:03 +0000 |
commit | 64a60590ba5da8026abb65a7abe8fce9e573c476 (patch) | |
tree | fbb640591745e267977b99289e25e6ef4694fb08 /src/backend/tcop/postgres.c | |
parent | 0ed07d49d5b5aed54da02b9dfa87856ba09af859 (diff) | |
download | postgresql-64a60590ba5da8026abb65a7abe8fce9e573c476.tar.gz postgresql-64a60590ba5da8026abb65a7abe8fce9e573c476.zip |
A few minor list-related cleanups:
(1) Replace while loop with the new forboth() construct in
parser/analyze.c
(2) Replace lcons() with lappend() in SearchCatCacheList(). Since these
now have the same performance, there is no reason to prefer lcons() in
this case, and using lappend() leads to cleaner code.
(3) Improve the name of the second parameter to for_each_cell()
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions