summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/spi/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/spi/README b/contrib/spi/README
index dfcdf603d2..a1ab46cb2b 100644
--- a/contrib/spi/README
+++ b/contrib/spi/README
@@ -135,3 +135,15 @@ be NOT NULL.
To CREATE FUNCTION use insert_username.sql (will be made by gmake from
insert_username.source).
+
+
+5. moddatetime.c - function for maintaining a modification datetime stamp.
+
+ You have to create a BEFORE UPDATE trigger using the function moddatetime().
+One argument must be given, that is the name of the field that is of type
+datetime that is to be used as the modification time stamp.
+
+ There is an example in moddatetime.example.
+
+ To CREATE FUNCTION use moddatetime.sql ( will be made by gmake from
+moddatetime.source).