]> granicus.if.org Git - postgresql/commit
Revive line type
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 9 Oct 2013 05:09:18 +0000 (01:09 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 10 Oct 2013 02:34:38 +0000 (22:34 -0400)
commit261c7d4b653bc3e44c31fd456d94f292caa50d8f
treec908259140d328054336afb57deb1afdc565f534
parent0ac5e5a7e152504c71ce2168acc9cef7fde7893c
Revive line type

Change the input/output format to {A,B,C}, to match the internal
representation.

Complete the implementations of line_in, line_out, line_recv, line_send.
Remove comments and error messages about the line type not being
implemented.  Add regression tests for existing line operators and
functions.

Reviewed-by: rui hua <365507506hua@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@2ndquadrant.com>
Reviewed-by: Jeevan Chalke <jeevan.chalke@enterprisedb.com>
13 files changed:
doc/src/sgml/datatype.sgml
doc/src/sgml/func.sgml
src/backend/utils/adt/geo_ops.c
src/include/catalog/pg_type.h
src/include/utils/geo_decls.h
src/test/regress/expected/geometry.out
src/test/regress/expected/line.out [new file with mode: 0644]
src/test/regress/expected/sanity_check.out
src/test/regress/output/misc.source
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/geometry.sql
src/test/regress/sql/line.sql [new file with mode: 0644]