Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit280cae3

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 parent8f5b4c8 commit280cae3

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)

[8]ページ先頭

©2009-2025 Movatter.jp