50 | | One nice benefit about logging the query and the output to a table, is that it's easier to inspect (and you can conceivably (thought haven't tried yet) do a join between two log output tables by logid to compare results from different versions of postgis) and you can also rerun a subset of the queries for closer inspection by just writing an sql statement something like below -- which will test all tests for the ST_3DDistance function that involve points and linestrings |
| 50 | There are a lot of nice benefits about logging the query and the output to a table: |
| 51 | * It's easier to inspect |
| 52 | * You can conceivably (though haven't tried yet) do a join between two log output tables by logid (as long as the logs were generated from the same test script) to compare results from different versions of postgis) |
| 53 | * You can also rerun a subset of the queries for closer inspection by just writing an sql statement something like below -- which will test all tests for the ST_3DDistance function that involve points and linestrings |