Re: pgsql: Do not try to change a const variable.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Do not try to change a const variable.
Дата
Msg-id 8494.1229368147@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Do not try to change a const variable.  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-committers
Simon Riggs <simon@2ndQuadrant.com> writes:
> I get this

> misc.c:253: warning: assignment discards qualifiers from pointer target
> type

> I'm guessing that error comes from this commit?

Yeah.  It's got worse problems than that too: it's not accounting for
possibility that internationalized string is significantly longer than
the ASCII version.  Fixed, I think.

            regards, tom lane

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix cast-away-const problem as well as bogus calculation of
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add missing 'break' in Win32 switch statement, reported by Martin