]> granicus.if.org Git - postgis/commit
Test roundtrip with a binary cursor for both geometry and geography
authorSandro Santilli <strk@keybit.net>
Wed, 18 Jan 2012 08:19:42 +0000 (08:19 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 18 Jan 2012 08:19:42 +0000 (08:19 +0000)
commit7091a479fc494d350aadcffeb4f219e4e58516ac
tree7241f444e0189a1b04c4597ecbeb26301fa0271d
parentea3128b4ece4fb5088d8d9545945c75da8de913a
Test roundtrip with a binary cursor for both geometry and geography

With this commit the binary.sql testcase doesn't test the actual
binary output anymore but rather uses canonical binary output to
copy objects to a temporary file, then uses canonical binary input
to read the objects again into a new table and then compares the
original and the final tables.

In order for this to work run_test was modified to pass a :tmpfile
variable to testcases. Next stop: typmod for canonical binary input.

See ticket #850 for more info

git-svn-id: http://svn.osgeo.org/postgis/trunk@8861 b70326c6-7e19-0410-871a-916f4a2858ee
regress/binary.sql
regress/binary_expected
regress/run_test