pgsql: Remove unused "m" field in LSEG.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Remove unused "m" field in LSEG.
Дата
Msg-id E1YIlPh-0006pm-Ah@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove unused "m" field in LSEG.

This field has been unreferenced since 1998, and does not appear in lseg
values stored on disk (since sizeof(lseg) is only 32 bytes according to
pg_type).  There was apparently some idea of maintaining it just in values
appearing in memory, but the bookkeeping required to make that work would
surely far outweigh the cost of recalculating the line's slope when needed.
Remove it to (a) simplify matters and (b) suppress some uninitialized-field
whining from Coverity.

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/geo_ops.c |   19 -------------------
src/include/utils/geo_decls.h   |    2 --
src/test/regress/regress.c      |    1 -
3 files changed, 22 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Process 'die' interrupts while reading/writing from the client s
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Don't allow immediate interrupts during authentication anymore.