diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-07-19 08:01:40 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-07-19 08:20:24 +0200 |
commit | 2b00db4fb0c7f02f000276bfadaab65a14059168 (patch) | |
tree | be8cdeaa98656fe52c7bbd47e68a221b16840308 /src/backend/tcop/postgres.c | |
parent | 29abde637bbb4b8fcdc96e049813890afa5ab671 (diff) | |
download | postgresql-2b00db4fb0c7f02f000276bfadaab65a14059168.tar.gz postgresql-2b00db4fb0c7f02f000276bfadaab65a14059168.zip |
Use l*_node() family of functions where appropriate
Instead of castNode(…, lfoo(…))
Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://www.postgresql.org/message-id/flat/87eecahraj.fsf@wibble.ilmari.org
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 8cea10c9019..530caa520b8 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -785,7 +785,7 @@ pg_rewrite_query(Query *query) */ foreach(lc, querytree_list) { - Query *query = castNode(Query, lfirst(lc)); + Query *query = lfirst_node(Query, lc); if (query->commandType != CMD_UTILITY) { |