[postgis-devel] r17005 - Upgrade script generator fix

Sandro Santilli strk at kbt.io
Wed Nov 14 06:29:59 PST 2018


On Wed, Nov 14, 2018 at 04:21:03PM +0300, Darafei "Komяpa" Praliaskouski wrote:

> > Can you think of a way to automate testing of postgis_restore.pl ?
> 
> Do you think of postgis_restore.pl or postgis_proc_upgrade.pl?

Ah sorry, postgis_proc_upgrade.pl was being changed, and is already
tested (best by Dronie at the moment).

We still miss a test for postgis_restore.pl but that discussion does
not belong in this thread.

> Well, normal way of automating is the same as usual - use it :) We may need
> a sample database that will have all kinds of data that can be in PostGIS
> databases (including probably views) and try dumping/restoring it in
> restore process.

Yeah, I don't remember if I ever ticketed this, would be nice to have.

--strk;


More information about the postgis-devel mailing list