Changes between Version 1 and Version 2 of DevWikiPGRegress


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

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiPGRegress

    v1 v2  
    55Basic steps:
    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
    7  *  Run this sql file using psql and save the output in myfunc_expected.
     7 *  Run this sql file in a PostGIS enabled db using psql and save the output in myfunc_expected -- e.g.
     8{
     9psql -tXA -h localhost -U postgres -d postgis_reg -f myfunc.sql -o myfunc_expected
     10}
    811 *  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:
    912