From: Neil Conway Date: Thu, 10 Feb 2005 05:01:07 +0000 (+0000) Subject: Use now() rather than 'now' in an example in the PL/PgSQL docs. From David X-Git-Tag: REL8_1_0BETA1~1399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=280cae35aa1cc961be56f3a73ccf7b285c4204b7;p=postgresql Use now() rather than 'now' in an example in the PL/PgSQL docs. From David Fetter and Ben Calvert. --- diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 64a0af6cff..798d127991 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,5 +1,5 @@ @@ -2602,7 +2602,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 := now(); NEW.last_user := current_user; RETURN NEW; END;