[postgis-devel] Issue 77 in postgis: make check - is there anyway for us to delete postgis_reg db when load fails

strk strk at keybit.net
Thu Nov 27 14:14:13 PST 2008


On Thu, Nov 27, 2008 at 06:03:14PM +0000, codesite-noreply at google.com wrote:
> Status: New
> Owner: robe.... at cityofboston.gov
> Labels: Type-Enhancement
> 
> New issue 77 by robe.... at cityofboston.gov: make check - is there anyway for 
> us to delete postgis_reg db when load fails
> http://code.google.com/p/postgis/issues/detail?id=77
> 
> What steps will reproduce the problem?
> 1. make check
> 2. check fails during loading of postgis
> 3. you run make check again after compilation
> 4. it fails again
> 5. Oh yah have to do dropdb postgis_reg before you can run make check again

I suggest you set an env. variable, like:

 make check OPTIONS=droponfailure

Or make it the default and opt-in for keeping the db

 make check OPTIONS=keeponfailure

Keeping the db was a choice for easier debugging (what went wrong?)

--strk;




More information about the postgis-devel mailing list