Skip to content

Commit 280cae3

Browse files
author
Neil Conway
committed
Use now() rather than 'now' in an example in the PL/PgSQL docs. From David
Fetter and Ben Calvert.
1 parent 8f5b4c8 commit 280cae3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.58 2005/01/22 22:56:36 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.59 2005/02/10 05:01:07 neilc Exp $
33
-->
44

55
<chapter id="plpgsql">
@@ -2602,7 +2602,7 @@ CREATE FUNCTION emp_stamp() RETURNS trigger AS $emp_stamp$
26022602
END IF;
26032603

26042604
-- Remember who changed the payroll when
2605-
NEW.last_date := 'now';
2605+
NEW.last_date := now();
26062606
NEW.last_user := current_user;
26072607
RETURN NEW;
26082608
END;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy