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

strk strk at keybit.net
Fri Nov 28 09:35:43 PST 2008


On Fri, Nov 28, 2008 at 01:52:14AM -0500, Obe, Regina wrote:
> It happens to me all the time particularly on OpenSUSE.  I compile as root, forget to switch back to postgres before run check, but can't run check as root because I didn't give root enought rights.
>  
> or I change to postgres but I have to chmod the regress folder or something like that.  In this case it was just because my GEOS was the wrong version so would create the db and next time wouldn't drop.
>  
> I think it should be the default behavior to drop, but I don't know.  Since its not something users do often.
>  
> It wouldn't have been such a problem except next time check fails if the database exists or at least it seems to.  Maybe I was just reading it wrong.

Another alternative is that 'make check' drops the db and recreates.
You won't run 'make check' again if you want to debug last run...

--strk;



More information about the postgis-devel mailing list