Changes between Version 2 and Version 3 of DevWikiPGRegress


Ignore:
Timestamp:
Jan 14, 2011, 6:20:28 AM (13 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiPGRegress

    v2 v3  
    66 *  Create a .sql file listing key preferably corner cases of your function and name it some variant of your function name e.g myfunc.sql.  Examples of these are in the /regress folder e.g. dumppoints.sql
    77 *  Run this sql file in a PostGIS enabled db using psql and save the output in myfunc_expected -- e.g.
    8 {
     8{{
    99psql -tXA -h localhost -U postgres -d postgis_reg -f myfunc.sql -o myfunc_expected
    10 }
     10}}
    1111 *  Add this .sql script to the Makefile.in in trunk/regress (NOTE: we can do this if you are submitting the patch).  Also note that if your function relies on a particular version of GEOS that is not the minimum version for the PostGIS release, you need to wrap it in a conditional of the form:
    1212