GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.pgadmin.org — Trigger Function Dialog — pgAdmin 4 9.19 documentation
This page in other versions:
Latest
(9.19) | 9.18 | 9.17 | Development
Warning: this documentation is for a pre-release version of pgAdmin 4. Contents
Trigger Function Dialog¶Use the Trigger function dialog to create or manage a trigger_function. A trigger function defines the action that will be invoked when a trigger fires. The Trigger function dialog organizes the development of a trigger function through the following dialog tabs: General, Definition, Code, Options, Parameters and Security. The SQL tab displays the SQL code generated by dialog selections.
Use the fields in the General tab to identify the trigger function:
Click the Definition tab to continue.
Use the fields in the Definition tab to define the trigger function:
Click the Code tab to continue.
Click the Options tab to continue.
Use the fields in the Options tab to describe or modify the action of the trigger function:
Click the Parameters tab to continue.
Use the fields in the Parameters tab to specify settings that will be applied when the trigger function is invoked. Click the Add icon (+) to add a Name/Value pair to the table below.
Click the Add icon (+) to set additional parameters; to discard a parameter, click the trash icon to the left of the row and confirm deletion in the Delete Row popup. Click the Security tab to continue.
Use the Security tab to assign privileges and define security labels. Use the Privileges panel to assign usage privileges for the trigger function to a role. Click the Add icon (+) to add a role to the table.
Click the Add icon (+) to assign additional privileges; to discard a privilege, click the trash icon to the left of the row and confirm deletion in the Delete Row popup. Use the Security Labels panel to define security labels applied to the trigger function. Click the Add icon (+) to add each security label selection:
Click the Add icon (+) to assign additional security labels; to discard a security label, click the trash icon to the left of the row and confirm deletion in the Delete Row popup. Click the SQL tab to continue. Your entries in the Trigger function dialog generate a SQL command (see an example below). Use the SQL tab for review; revisit other tabs to modify the SQL command. Example¶The following is an example of the sql command generated by user selections in the Trigger function dialog:
The example shown demonstrates creating a trigger function named emp_stamp.
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |