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 ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/1c20ba4f41faccbd11c90c4220ef6ae11a574ba5 Modified Files -------------- src/backend/storage/lmgr/predicate.c | 71 +++++++++++++++++----------------- 1 files changed, 35 insertions(+), 36 deletions(-)