Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
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".
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".

More

Add your opinion

PostgreSQL Maestro online Help

Prev Return to chapter overview Next

Rules

The PostgreSQL rule system allows to define an alternate action to be performed on insertions, updates, or deletions in database tables. Roughly speaking, a rule causes additional commands to be executed when a given command on a given table is executed.

 

 

Rules are created within Create Rule Wizard. In order to run the wizard you should either

 

open the table in Table Editor and the Rules tab there;
press the Insert key or select the Add New Rule... item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar)

or

select the table in the explorer tree and use the Create New Rule... popup menu item

or

select the table Rules node or any rule within the table in the explorer tree and use the Add New Rule... popup menu item.

 

 

Rules are edited within the Rule Editor dialog window. In order to open the dialog you should either

 

open the table in Table Editor and the Rules tab there;
press the Enter key or select the Edit Rule item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar)

or

select the rule to edit in the explorer tree and use the Edit Rule popup menu item.

 

 

 

To drop a rule:

 

select the rule to drop in the explorer tree;
select the Drop Rule item from the popup menu

or

open the table in Table Editor and the Rules tab there;
select the rule to drop;
press the Delete key or select the Drop Rule item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar)

and confirm dropping in the dialog window.

 



Prev Return to chapter overview Next