|
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California |
8 | 8 | * |
9 | 9 | * IDENTIFICATION |
10 | | - * $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.244 2009/01/21 09:28:26 mha Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.245 2009/01/22 19:16:31 heikki Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
@@ -992,12 +992,14 @@ renametrig(Oid relid, |
992 | 992 | /* |
993 | 993 | * EnableDisableTrigger() |
994 | 994 | * |
995 | | - *Called by ALTER TABLE ENABLE/DISABLE TRIGGER |
| 995 | + *Called by ALTER TABLE ENABLE/DISABLE[ REPLICA | ALWAYS ]TRIGGER |
996 | 996 | *to change 'tgenabled' field for the specified trigger(s) |
997 | 997 | * |
998 | 998 | * rel: relation to process (caller must hold suitable lock on it) |
999 | 999 | * tgname: trigger to process, or NULL to scan all triggers |
1000 | | - * enable: new value for tgenabled field |
| 1000 | + * fires_when: new value for tgenabled field. In addition to generic |
| 1001 | + * enablement/disablement, this also defines when the trigger |
| 1002 | + * should be fired in session replication roles. |
1001 | 1003 | * skip_system: if true, skip "system" triggers (constraint triggers) |
1002 | 1004 | * |
1003 | 1005 | * Caller should have checked permissions for the table; here we also |
|