aboutsummaryrefslogtreecommitdiff
path: root/src/backend/lib/stringinfo.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2018-09-26 10:45:21 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2018-09-26 10:45:21 +0200
commita3d2844852dc664718320b15cbc6d6bfa264e66e (patch)
treedd2982fe4d3fe2c4da946bc9a81803ae3ed9f9bf /src/backend/lib/stringinfo.c
parent2e2a392de391a9f4ef4221fccbd00c43ba5c9b40 (diff)
downloadpostgresql-a3d2844852dc664718320b15cbc6d6bfa264e66e.tar.gz
postgresql-a3d2844852dc664718320b15cbc6d6bfa264e66e.zip
Improve test coverage of geometric types
This commit significantly increases test coverage of geo_ops.c, adding tests for various issues addressed by 2e2a392de3 (which went undetected for a long time, at least partially due to not being covered). This also removes alternative results expecting -0 on some platforms. Instead the functions are should return the same results everywhere, transforming -0 to 0 if needed. The tests are added to geometric.sql file, sorted by the left hand side of the operators. There are many cross datatype operators, so this seems like the best solution. Author: Emre Hasegeli Reviewed-by: Tomas Vondra Discussion: https://www.postgresql.org/message-id/CAE2gYzxF7-5djV6-cEvqQu-fNsnt%3DEqbOURx7ZDg%2BVv6ZMTWbg%40mail.gmail.com
Diffstat (limited to 'src/backend/lib/stringinfo.c')
0 files changed, 0 insertions, 0 deletions