pgsql: Undo overly enthusiastic de-const-ification.
pgsql: Undo overly enthusiastic de-const-ification.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Undo overly enthusiastic de-const-ification. s/const//g wasn't exactly what I was suggesting here ... parameter declarations of the form "const structtype *param" are good and useful, so put those occurrences back. Likewise, avoid casting away the const in a "const void *" parameter. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/223be216afa13b708904ca1d72898f2ccf5cef40 Modified Files -------------- src/backend/storage/lmgr/predicate.c | 71 +++++++++++++++++----------------- 1 files changed, 35 insertions(+), 36 deletions(-)