]> begriffs open source - ai-pg/blob - full-docs/txt/triggers.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / triggers.txt
1
2 Chapter 37. Triggers
3
4    Table of Contents
5
6    37.1. Overview of Trigger Behavior
7    37.2. Visibility of Data Changes
8    37.3. Writing Trigger Functions in C
9    37.4. A Complete Trigger Example
10
11    This chapter provides general information about writing trigger
12    functions. Trigger functions can be written in most of the available
13    procedural languages, including PL/pgSQL (Chapter 41), PL/Tcl
14    (Chapter 42), PL/Perl (Chapter 43), and PL/Python (PL/Python). After
15    reading this chapter, you should consult the chapter for your favorite
16    procedural language to find out the language-specific details of
17    writing a trigger in it.
18
19    It is also possible to write a trigger function in C, although most
20    people find it easier to use one of the procedural languages. It is not
21    currently possible to write a trigger function in the plain SQL
22    function language.