Choose your database:
MS SQL Server
SQL Anywhere

Subscribe to our news:
Simon Pills: "Someone finally invented an intuitively used and easily customized PostgreSQL database administration tool! Keep up the good work. I will be in touch. I am able to do this horrendous work because your software enabled me to create a new database with all necessary objects in several minutes! I am sure that I have found what I really need".
Shafiq Far: "Just wanted to let you know that I think the SQL Maestro for Postgres is excellent. We've tried a variety over the past few years and none are even close to yours. Well done".


Add your opinion

PostgreSQL Maestro online Help

Prev Return to chapter overview Next

Rule Editor

Rule Editor can be open automatically after the rule is created and is available on editing the rule. You can open a rule in the editor from the Explorer Tree or via the Rules tab of Object Manager. Alternatively, you may use the corresponding link of the Navigation Bar.


The basic principles of Object Editors in PostgreSQL Maestro are explained in a separate topic. Below you will find a description of editor tabs that are unique for the current object.


The main tab of Rule Editor consists of two parts: Definition and Properties.






The command or commands that make up the rule action. Valid commands are Select, Insert, Update, Delete or Notify.



Here you can change the rule name.

Note: the name of the object must be unique among all the object names in its container. Moreover, all the objects that are source of data need unique names among themselves. You can use any identifier that is allowed by PostgreSQL server.



This field stores a comment to the rule.



The field stores the rule OID (object identifier). The latter can be defined as a serial number that is automatically added by PostgreSQL to all rules.



Here is the event that will fire the rule.



The checkbox indicates that the specified commands will be executed instead of the original command.



The field contains the rule conditional expression.


To apply the changes, select the Apply Changes item in the Navigation bar or use Ctrl+F9 or Ctrl+F7 shortcut keys.


It is also possible to modify object properties without opening the object editor: use the Object Properties item of the popup menu of the selected object from the explorer tree.

Prev Return to chapter overview Next