mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +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:
@@ -514,7 +514,7 @@ OpenTableList(List *tables)
|
||||
*/
|
||||
foreach(lc, tables)
|
||||
{
|
||||
RangeVar *rv = castNode(RangeVar, lfirst(lc));
|
||||
RangeVar *rv = lfirst_node(RangeVar, lc);
|
||||
bool recurse = rv->inh;
|
||||
Relation rel;
|
||||
Oid myrelid;
|
||||
|
||||
Reference in New Issue
Block a user