Restore handling of -0 in the C field of lines in line_construct().

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: 74294c7301340eeb477343dd26d98d2f3e33bd20
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2018-07-29T19:11:05Z
Releases: 12.0
Restore handling of -0 in the C field of lines in line_construct().

Commit a7dc63d904 inadvertedly removed this bit originally introduced
by 43fe90f66a, causing regression test failures on some platforms,
due to producing {1,-1,-0} instead of {1,-1,0}.

Files

PathChange+/−
src/backend/utils/adt/geo_ops.c modified +3 −0