Read this FAQ on Postgresql 8.1, I guess from the problem you have you are using this version.
> DATA "geom FROM ps" your error is this line, reason is clearly explained in FAQ otherwise mail me I hope you solve it luca -- luca marletta www.beopen.it