|
pljava 1.0.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.example.Triggers
This class contains some triggers that I found written in C under the
contrib/spi directory of the postgres source distribution. Code to create the
necessary tables, functions, triggers, and some code to actually
execute them can be found in class Tester
.
Constructor Summary | |
Triggers()
|
Method Summary | |
(package private) static void |
insertUsername(TriggerData td)
insert user name in response to a trigger. |
(package private) static void |
moddatetime(TriggerData td)
Update a modification time when the row is updated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Triggers()
Method Detail |
static void insertUsername(TriggerData td) throws java.sql.SQLException
java.sql.SQLException
static void moddatetime(TriggerData td) throws java.sql.SQLException
java.sql.SQLException
|
pljava 1.0.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |