Add missing SGML file.
authorBruce Momjian
Wed, 24 Apr 2002 02:53:13 +0000 (02:53 +0000)
committerBruce Momjian
Wed, 24 Apr 2002 02:53:13 +0000 (02:53 +0000)
doc/src/sgml/ref/alter_trigger.sgml [new file with mode: 0644]

diff --git a/doc/src/sgml/ref/alter_trigger.sgml b/doc/src/sgml/ref/alter_trigger.sgml
new file mode 100644 (file)
index 0000000..8cf5168
--- /dev/null
@@ -0,0 +1,178 @@
+
+
+
+  
+   ALTER TRIGGER
+  
+  SQL - Language Statements
+  
+   ALTER TRIGGER
+  
+  
+   change the definition of a trigger
+  
+  
+   2002-04-19
+  
+  
+ALTER TRIGGER trigger ON table
+    RENAME TO newname
+  
+
+  
+   
+    2002-04-19
+   
+   </div> <div class="diff add">+    Inputs</div> <div class="diff add">+   
+   
+    
+
+     
+       trigger 
+      
+       
+   The name of an existing trigger to alter.
+       
+      
+     
+
+     
+       table 
+      
+       
+   The name of the table on which this trigger acts.
+       
+      
+     
+
+     
+       newname 
+      
+       
+   New name for the existing trigger.
+       
+      
+     
+
+    
+   
+  
+
+  
+   
+    2002-04-19
+   
+   </div> <div class="diff add">+    Outputs</div> <div class="diff add">+   
+   
+
+    
+     
+      ALTER
+      
+       
+   Message returned from trigger renaming.
+       
+      
+     
+
+     
+      ERROR
+      
+       
+   Message returned if trigger is not available, or new name is a duplicate of another existing trigger on the table.
+       
+      
+     
+    
+   
+  
+
+  
+   2002-04-19
+  
+  </div> <div class="diff add">+   Description</div> <div class="diff add">+  
+  
+   ALTER TRIGGER changes the definition of an existing trigger.
+   The RENAME clause causes the name of a trigger on the given table
+   to change without otherwise changing the trigger definition.
+  
+
+  
+   You must own the table on which the trigger acts in order to change its properties.
+  
+
+  
+   
+    2002-04-19
+   
+   </div> <div class="diff add">+    Notes</div> <div class="diff add">+   
+   
+    Refer to CREATE TRIGGER for a further description
+    of valid arguments.
+   
+  
+
+  </div> <div class="diff add">+   Usage</div> <div class="diff add">+  
+  
+   To rename an existing trigger:
+   
+ALTER TRIGGER emp_stamp ON emp RENAME TO emp_track_chgs;
+   
+  
+
+  </div> <div class="diff add">+   Compatibility</div> <div class="diff add">+  
+
+  
+   
+    2002-04-19
+   
+   SQL92
+   
+    The clause to rename triggers is a
+    PostgreSQL extension from SQL92.
+   
+  
+
+
+