2008-11-01 09:07:34 +07:00
|
|
|
CREATE OR REPLACE FUNCTION getDate()
|
|
|
|
RETURNS TIMESTAMP WITH TIME ZONE AS $$
|
|
|
|
BEGIN
|
2020-03-03 09:07:14 +07:00
|
|
|
RETURN statement_timestamp();
|
2008-11-01 09:07:34 +07:00
|
|
|
END;
|
2020-03-03 09:07:14 +07:00
|
|
|
$$ LANGUAGE plpgsql STABLE;
|