mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
that used to do it in planner. That was an ancient kluge that was never satisfactory; errors should be detected at parse time when possible. But at the time we didn't have the support mechanism (expression_tree_walker et al) to make it convenient to do in the parser.