I hate giving replies to myself.... but: The next day, everything worked fine... Don't think I changed anyting.... Conclution: pgsql 7.1.2 works fine with grass 5.0.0p1, a recompile of the pg.modules might help and just try again if it doesn't seem to work... -- Morten Sickel GIS Consultant Drøbak, Norway