OSDN Git Service

Eliminate some unbelievably cheesy code in _copyConst().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Nov 1999 05:15:13 +0000 (05:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Nov 1999 05:15:13 +0000 (05:15 +0000)
commitc6f5f858a61772aaf426a4dc8452bf68c757181a
treeb4a03d24967ba382b799fee7cbf309bc41dbf1ae
parentee2ad1cf2e7ed4bb9760d2c7440152d83a5bb9dd
Eliminate some unbelievably cheesy code in _copyConst().
Apparently, back in the dim reaches of prehistory, the parser couldn't
be trusted to label Const nodes with the correct constbyval value ...
and someone preferred to patch around this in copyObject rather than
fix the problem at the source.  The problem is long gone, but the hack
lingered on.  Until now.
src/backend/nodes/copyfuncs.c