In postgis.sql to be compatable with the upcomming version of postgres I had to change, ALTER TABLE CHECKS from (''||column_name||''=NULL) to
(''||column_name||'' IS NULL).
DropGeometryColumn(varchar,varchar,varchar) line 32.
AddGeometryColumn(varchar,varchar,varchar,integer,varchar,integer) line 50.
Eric