From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove unused "m" field in LSEG. |
Date: | 2015-02-03 21:53:41 |
Message-ID: | E1YIlPh-0006pm-Ah@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2015-02-03 22:10:32 | pgsql: Don't allow immediate interrupts during authentication anymore. |
Previous Message | Andres Freund | 2015-02-03 21:51:42 | pgsql: Process 'die' interrupts while reading/writing from the client s |