core-jgi/db/postgresql/functions/getDate.sql

7 lines
149 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE FUNCTION getDate()
RETURNS TIMESTAMP WITH TIME ZONE AS $$
BEGIN
RETURN statement_timestamp();
END;
$$ LANGUAGE plpgsql STABLE;