Fix misplaced const These instances were apparently trying to carry the const qualifier from the arguments through the complex casts, but for that the const qualifier was misplaced. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c8c885b7a5c8c1175288de1d8aaec3b4ae9050e1 Modified Files -------------- src/backend/partitioning/partbounds.c | 4 ++-- src/backend/utils/adt/tsquery_op.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Peter Eisentraut <peter@eisentraut.org> writes:
> Fix misplaced const
> These instances were apparently trying to carry the const qualifier
> from the arguments through the complex casts, but for that the const
> qualifier was misplaced.
Hmm, maybe even better to make it like this?
const char *sa = *((const char *const *) a);
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера