pgsql: Remove unused "m" field in LSEG. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove unused "m" field in LSEG.
Date
Msg-id E1YIlPh-0006pm-Ah@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Process 'die' interrupts while reading/writing from the client s
Next
From: Andres Freund
Date:
Subject: pgsql: Don't allow immediate interrupts during authentication anymore.