Some minor further cleanup around A_Const. Don't attach a typecast in
Tom Lane <tgl@sss.pgh.pa.us>
Some minor further cleanup around A_Const. Don't attach a typecast in makeFloatConst, and avoid "manual" construction of A_Const nodes in grammar productions, in favor of using makeXXXConst subroutines.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/gram.y | modified | +37 −47 |
| src/backend/parser/parse_type.c | modified | +4 −21 |
| src/backend/utils/misc/guc.c | modified | +8 −10 |
| src/include/nodes/parsenodes.h | modified | +3 −3 |