From d6707cb66e2ac0d54e0d4b83ee83ebce1fc73022 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Fri, 21 Oct 2005 05:11:23 +0000 Subject: [PATCH] Minor PL/PgSQL doc tweak: use current_timestamp rather than now() in an example function. --- doc/src/sgml/plpgsql.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 5bf2518ea7..dc5cea9fb3 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,5 +1,5 @@ @@ -2838,7 +2838,7 @@ CREATE FUNCTION emp_stamp() RETURNS trigger AS $emp_stamp$ END IF; -- Remember who changed the payroll when - NEW.last_date := now(); + NEW.last_date := current_timestamp; NEW.last_user := current_user; RETURN NEW; END; -- 2.40.0