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/executor/execPartition.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/executor/execPartition.c')
-rw-r--r-- | src/backend/executor/execPartition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/execPartition.c b/src/backend/executor/execPartition.c index 606c920b068..5c723bc54e1 100644 --- a/src/backend/executor/execPartition.c +++ b/src/backend/executor/execPartition.c @@ -585,7 +585,7 @@ ExecInitPartitionInfo(ModifyTableState *mtstate, EState *estate, foreach(ll, wcoList) { - WithCheckOption *wco = castNode(WithCheckOption, lfirst(ll)); + WithCheckOption *wco = lfirst_node(WithCheckOption, ll); ExprState *wcoExpr = ExecInitQual(castNode(List, wco->qual), &mtstate->ps); |