I found out what was wrong with this. In the program ./src/db/spatial.sql the line: set search_path = spatial ; should read set search_path = spatial, globals ; Happy day all is good with the world. :-) I guess this first "bug" means we should start working on some kind of cvs for this model... thoughts? Mark