mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
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
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user