projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5b4c8
)
Use now() rather than 'now' in an example in the PL/PgSQL docs. From David
author
Neil Conway
Thu, 10 Feb 2005 05:01:07 +0000
(
05:01
+0000)
committer
Neil Conway
Thu, 10 Feb 2005 05:01:07 +0000
(
05:01
+0000)
Fetter and Ben Calvert.
doc/src/sgml/plpgsql.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/plpgsql.sgml
b/doc/src/sgml/plpgsql.sgml
index 64a0af6cffa749114709aed1b61177a2536acb23..798d127991ea1d96b8d1176da9a9f709cd34da4b 100644
(file)
--- 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;