New --dumprestore switch for

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

New --dumprestore switch for

Sandro Santilli-2
I've committed support for --dumprestore switch to
When given, the tester will perform a pg_dump and pg_restore cycle
right after spatially enabling the target database.

You can test it with something like:

 make check RUNTESTFLAGS=--dumprestore

Right now it fails for topology because the "search_path"
configuration is lost on dump/restore and some of the
topology tests do not fully-qualify calls.

My plan is to fix it and then have the bots add the test.

It could also go by default in "make check" but right now
we are running all the tests twice (one with --upgrade and
one without) and adding --dumprestore might need to run
it another two times to test all combinations. Suggestions
welcome to balance completeness of tests vs. speed.


  ()   Free GIS & Flash consultant/developer
postgis-devel mailing list
[hidden email]