Choose your database:
MS SQL Server
SQL Anywhere

Subscribe to our news:
Andrew Maclean: "I am really quite impressed with the software. You and your people are doing a wonderful job. I actually have spent a while researching PostgreSQL admin/code generators and yours seems to fit our needs nicely. Your interface is beautiful".
Daryl Joubert: "I am evaluating your PostgreSQL Maestro product for purchase by my company and thus far I am very impressed! I really like the easy, intuitive and productive user interface and feature set. I am also evaluating a number of other products for PostgreSQL database design and maintenence but thus far SQLMaestro stands head and shoulders above the rest".


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