Remove unused "m" field in LSEG.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Feb 2015 21:50:50 +0000 (16:50 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Feb 2015 21:53:32 +0000 (16:53 -0500)
commitcec916f35be5531efdaf721a46313feb36e0cd76
treedd3f0aa010719dd9d12ec83de6c947aa7b55a763
parent4fe384bd858671d40d311ca68cc9b80f4c683a3e
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.
src/backend/utils/adt/geo_ops.c
src/include/utils/geo_decls.h
src/test/regress/regress.c