There's a missing semicolon... > +CREATE OR REPLACE FUNCTION set_ctime() > +RETURNS trigger AS $set_ctime$ > +BEGIN > + NEW.ctime = CURRENT_TIMESTAMP ... here. Please amend after applying the patch, or let me know if you prefer a fixed patch. -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Listening to: Carlos Berlanga - Estados