From: Bruce Momjian Date: Mon, 14 Dec 1998 05:13:39 +0000 (+0000) Subject: OK, here is a diff for the README file in /usr/src/pgsql/contrib/spi/. X-Git-Tag: REL6_5~907 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f722af618a5d6cedb0e083397f6efcec2e07b0c8;p=postgresql OK, here is a diff for the README file in /usr/src/pgsql/contrib/spi/. For the 6.5 tree. Have a great night. Terry --- 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).