pgsql: Remove pointless const qualifiers from function arguments in the

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Remove pointless const qualifiers from function arguments in the
Дата
Msg-id E1QZJgT-0006c3-J2@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove pointless const qualifiers from function arguments in the SSI code.
As Tom Lane pointed out, "const Relation foo" doesn't guarantee that you
can't modify the data the "foo" pointer points to. It just means that you
can't change the pointer to point to something else within the function,
which is not very useful.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fbaa7a23e4d225f3422f5ede9897d49cb7ca3ff5

Modified Files
--------------
src/backend/storage/lmgr/predicate.c |   94 ++++++++++++++++-----------------
src/include/storage/predicate.h      |   26 +++++-----
2 files changed, 59 insertions(+), 61 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Remove pointless const qualifiers from function arguments in the
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Don't select log_cnt in sequence regression tests.