On Feb 12, 2008 10:28 PM, Dalibor Andzakovic <[EMAIL PROTECTED]> wrote: > One fix for PostgreSQL would be to declare a function. > > Something like: > > CREATE FUNCTION unix_timestamp (timestamptz) RETURNS numeric AS > $BODY$ > BEGIN > RETURN EXTRACT(EPOCH FROM $1); > END; > $BODY$ > LANGUAGE plpgsql; > > Would do the job.
Dali, just out of curiousity - for how long does this "persist" in PostgreSQL? Thanks, Till _______________________________________________ List info: http://lists.roundcube.net/dev/
