diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-01-26 22:09:34 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-01-26 22:09:34 -0500 |
commit | 7afd56c3c6d8360a5bfdfb2de30038b239fd756b (patch) | |
tree | df9eb70bc951cdfe35629861285d5c6f31789ad7 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 9ba8a9ce4548bb34b7136b7463a61b2c499979a3 (diff) | |
download | postgresql-7afd56c3c6d8360a5bfdfb2de30038b239fd756b.tar.gz postgresql-7afd56c3c6d8360a5bfdfb2de30038b239fd756b.zip |
Use castNode() in a bunch of statement-list-related code.
When I wrote commit ab1f0c822, I really missed the castNode() macro that
Peter E. had proposed shortly before. This back-fills the uses I would
have put it to. It's probably not all that significant, but there are
more assertions here than there were before, and conceivably they will
help catch any bugs associated with those representation changes.
I left behind a number of usages like "(Query *) copyObject(query_var)".
Those could have been converted as well, but Peter has proposed another
notational improvement that would handle copyObject cases automatically,
so I let that be for now.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions